shubhamraj / geoviz

Automatically exported from code.google.com/p/geoviz
0 stars 0 forks source link

Add full-text search box #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Rob's comment:

Attached is an example of the "smart search box" I was describing.  It is
basically a drop down menu with an input text box rather than a button or
icon.  Each character you enter calls a function to research the array of
strings associated with the drop-down, eliminating ones that do not have a
character match.  This could possibly be a quick solution for next Friday
to allow for filtering of variables by attribute and date:

http://www.lakeshorepreserve.wisc.edu/imap/LakeshoreNaturePreserve.html

Frank's comment:

Yes, this should be fairly easy. Prefuse features such a component (using
the Lucene engine), so we can just nab that one. The thing that is better
about the "smart search box" that Rob showed us that is even nicer, is that
his searches for matches anywhere in the search terms, but the Lucene
implementations I have seen match from left to right only, so, for example,
typing "Bay Marsh" would match "University Bay Marsh" in Rob's tool but not
in Prefuse. But that can be fixed, of course!

Original issue reported on code.google.com by frank.hardisty on 7 Dec 2007 at 2:14