Re: How to set threshold for categorized document as Matched ,Partial Match, No Match with query.

2014-07-12 Thread Erick Erickson
Well, first be aware that the scores are not comparable across different queries. So any rule like "don't show any score < X" is meaningless. A _very_ good match at the top position (as judged by humans) for one query might score less than X, and a poor match for another query that was nonetheless

Re: Finding words not followed by other words

2014-07-12 Thread Koji Sekiguchi
Hi Michael, I haven't executed this yet, but can you try this: SpanNotQuery(SpanNearQuery("George Washington"), SpanNearQuery("George Washington Carver")) Koji -- http://soleami.com/blog/comparing-document-classification-functions-of-lucene-and-mahout.html (2014/07/11 23:20), Michael Ryan wro

How to set threshold for categorized document as Matched ,Partial Match, No Match with query.

2014-07-12 Thread Rajendra Rao
Hi We used apache lucene for ranking documents .We have documents with its score .Now our requirements is to set a threshold so that we can show that documents has matched ,no matched ,or partial match based on the threshold .How can we set this threshold because match score has decimal number