You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Kevin Price <ke...@yahoo.com> on 2004/01/07 17:08:31 UTC
search DB data
Hello.
I am wondering is it possible to do this with Lucene.
I will have users enter in their search text. The data that needs to be searched is stored in a
DB. So I would like to do a query against the Database, and then somehow use Lucene to parse
those results for all of the searching options (Boolean operators, multiple words,
wildcards,fuzzy, etc).
I�ve looked through the mailing lists, and I've seen some general discussions around it, and there
was a posting from a tom.szymanski@exgate.tek.com back in march of 2003. I have looked around
trying to find the framework he discussed but it doesn't look like he ever put it anywhere, or at
least I haven't found it yet.
Any help is appreciated.
Thanks for your time.
Kevin.
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org
Re: search DB data
Posted by Daniel Naber <da...@t-online.de>.
On Wednesday 07 January 2004 17:08, Kevin Price wrote:
> I will have users enter in their search text. The data that needs to be
> searched is stored in a DB. So I would like to do a query against the
> Database, and then somehow use Lucene to parse those results for all of
> the searching options (Boolean operators, multiple words,
> wildcards,fuzzy, etc).
Lucene works on its own index files. So the usual way is to index the data
in the database with Lucene and then query Lucene. Parsing the database
results during search time with Lucene doesn't seem to be possible/useful.
The only thing one might want to use at runtime when the database does the
actual query is maybe the query parser (in order to build an SQL query
from the user's input).
Regards
Daniel
--
http://www.danielnaber.de
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org