dcsimg
How to search all the fields in the document?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Suresh_Neelisetty
Posted On:   Wednesday, June 7, 2006 01:31 AM

Hi All,
I'm using Lucene 1.4 for a couple of days. I am having a table in MySQL database and i'm indexing that table. Iam indexing all the fields in the table and writing them on to the document. If I wants to search, I can write,

			
query=QueryParser.parse(searchString,"Id",new StandardAnalyzer());
where Id is the field in the table.
Iam looking for how to search if I don't know the field in the table or document?

Any help is appreciated...

Re: How to search all the fields in the document?

Posted By:   Otis_Gospodnetic  
Posted On:   Wednesday, June 7, 2006 06:18 PM

Use MultiFieldQueryParser
About | Sitemap | Contact