Half a croissant, on a plate, with a sign in front of it saying '50c'
h a l f b a k e r y
The halfway house for at-risk ideas

idea: add, search, annotate, link, view, overview, recent, by name, random

meta: news, help, about, links, report a problem

account: browse anonymously, or get an account and write.

user:
pass:
register,


                   

Please log in.
Before you can vote, you need to register. Please log in or create an account.

Advanced Searching

Perhaps even secret tips for searching
  (+1)
(+1)
  [vote for,
against]

I read all of the ideas in this category and didn't see what seems to be an obvious one: advanced searching. I realize index and searching algorithms are a black art, but some potential things that would be cool:

- A choice of which "field" (or DB column, whatever the case may be) to perform the search on, possible even multiple fields.

- Ability to use regex expressions in the search box (e.g., "bb|[^b]{2}"). I think I read that this site app is written in C, in which case the GNU C library has a regex.h library.

- The search results would be tabularized, as in, "Idea, Category, Author, et al."

The 1st could even be as simple as adding tokens into the search string (idea=foobar author=ized), rather than changing the nice & simple single text box interface.

latka, May 23 2003

Regex handling in C http://www.linuxgaz...indale/mygrep.c.txt
[latka, Oct 06 2004, last modified Oct 17 2004]

Help on Views http://www.halfbake...orial/viewhelp.html
The View engine on the bakery is very, very powerful. [krelnik, Oct 06 2004, last modified Oct 17 2004]

[link]






       You need to look into the View system. It lets you do lots of stuff like this, just about everything you asked for except for the regex stuff. See link to get started.
krelnik, May 23 2003
  

       AHA!! I didn't know you could fiddle with views and such. Not exactly the same as search, but quite freakin' cool indeed.
latka, May 23 2003
  

       I am going to name my son Regex.
bungston, May 23 2003
  

       Reg X. Bungston.... nice.
waugsqueke, May 23 2003
  

       If your son's already used to the name he's got, he might not like this...
hippo, May 23 2003
  

       [jutta], like I mentioned, I realize indexing algorithms are a black art. I think the user-defined views pretty much bakes what was I was getting at anyway.   

       I was thinking that the search was of an index, rather than the full text.
latka, May 24 2003
  

       // Regex handling in C //   

       Ahem: Regex handling in _GNU_ C.   

       Plenty of non-GNU C implementations out there -- I use at least two on a regular basis.
JKew, May 25 2003
  
      
[annotate]
  


 

back: main index

business  computer  culture  fashion  food  halfbakery  home  other  product  public  science  sport  vehicle