Lucene not showing Low Score Doc

2014-10-27 Thread Priyanka Tufchi
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

Re: Lucene not showing Low Score Doc

2014-10-27 Thread Shai Erera
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

Re: Lucene not showing Low Score Doc

2014-10-27 Thread Shai Erera
I'm sorry, I still don't feel like I have all the information in order to help with the problem that you're seeing. Can you at least paste the contents of the documents and the query? Can you search with a TotalHitCountCollector only, and print the total number of hits? Shai On Mon, Oct 27,