Lucene fetching keywords only on prefixing the keyword with Field Name
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   arun_s
Posted On:   Monday, July 11, 2005 07:31 AM

I Indexed a text file and Storing it .On saerching a keyword, lucene is not displaying results.
If i Prefix the keyword with the Field Name , lucene is displaying results.
Eg:doc.add(Field.Text("contents",textfile))
Search for a keyword by writing "contents:toolkit" where toolkit is a keyword in that text file , Lucene is working fine.

If i Enter just "toolkit" lucene not working.
Please give me a solution.

About | Sitemap | Contact