Well, there's nothing here to help you with, since you haven't provided
any information to diagnose. Like:

What queries are actually produced in the different cases?
Use query.toString().

I'm immediately suspicious of any statement that "my custom
code shouldn't be the problem". Try the test again using
one of the simplest analyzers you can.

Have you used Luke to query your index interactively and see
what the results are? Or how the queries parse?

Please, when asking for help, try looking at the question
you're asking from the perspective of someone who knows
nothing about your code. Imagine that a coworker had asked
you such a question.

Best
Erick

On 4/11/07, Lokeya <[EMAIL PROTECTED]> wrote:


I am following all the points which are mentioned in the following link:


http://wiki.apache.org/lucene-java/LuceneFAQ#head-3558e5121806fb4fce80fc022d889484a9248b71

I am having the following issues:

1. For different Queries I give I get a Hits object where there are always
21 documents, but getting different set but same number everytime. Also
not
all documents have the query term which I have set.

I have extended the Analyzer and using a new class
:StopStemmingAnalyzer.java. But that should not be the issue because I am
using that again for searching. Also I use  Field.Store.YES,
Field.Index.TOKENIZED for indexing.

Help Appreciated.
--
View this message in context:
http://www.nabble.com/Issue-with-%3A-Searcher.search%28%29-returning-Hits-of-same-length-for-different-searches-tf3557277.html#a9933089
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to