lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shai Erera <ser...@gmail.com>
Subject Re: Lucene not showing Low Score Doc
Date Mon, 27 Oct 2014 13:14:51 GMT
Hi

Your question is a bit fuzzy -- what do you mean by not showing "low
scores"? Are you sure that these 2 documents are matched by the query? Can
you boil it down to a short test case that demonstrates the problem?

In general though, when you search through IndexSearch.search(Query, int),
you won't get all matching documents, but only the number that you
specified (that's the 'int' that you pass). I don't think that's the
problem you're describing through as it sounds like there are only 10
documents, and the default is to return the top-10.

Again, if you have a short test that demonstrates the problem, that would
be good.

Shai

On Mon, Oct 27, 2014 at 2:39 PM, Priyanka Tufchi <
priyanka.tufchi@launchship.com> wrote:

> Hi All
>
> Actually I have set of 10 doc which i gave for comparison  through apache
> lucene now when i check score for the set ,out of 10 i am getting 8 in my
> database , rest 2 are not showing . If the score is very less still lucene
> should show something , how can i handle it as i have to show all 10 score
> index.
>
>
>
> Thanks
> Priyanka
>
> --
> Launchship Technology  respects your privacy. This email is intended only
> for the use of the party to which it is addressed and may contain
> information that is privileged, confidential, or protected by law. If you
> have received this message in error, or do not want to receive any further
> emails from us, please notify us immediately by replying to the message and
> deleting it from your computer.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message