I have indexed the docs successfully under the directory "LUCENE" under
current directory, which have segments, _1.cfs and deletable.
Now trying to use the following code to search the index but not getting any
HITS. But when I try to read through Reader and get the document with field
mentioned
On Tuesday 10 April 2007 08:40, Lokeya wrote:
> But when i try to get hits.length() it is 0.
>
> Can anyone point out whats wrong ?
Please check the FAQ first:
http://wiki.apache.org/lucene-java/LuceneFAQ#head-3558e5121806fb4fce80fc022d889484a9248b71
Regards
Daniel
--
http://www.danielnaber.d
I solved the issue by using:
1.Same Analyser.
2.Making indexing by tokenizing terms.
Now issue with the following code is, I am facing issues which I have pasted
after the code, I searched the forum but couldn't find a relevant post :
QueryParser parser = new QueryParser("Title", analyzer);
Que
The issue is solved. Luke was very helpful in debugging, infact it helped to
identify a very basic mistake we were making.
Lokeya wrote:
>
> I solved the issue by using:
>
> 1.Same Analyser.
> 2.Making indexing by tokenizing terms.
>
> Now issue with the following code is, I am facing issues