Using alternative scoring mechanism.

2012-12-01 Thread Eyal Ben Meir
Can one replace the basic scoring algorithm (TF/IDF) for a specific field, to use a different one? I need to compute similarity for NAME field. The regular TF/IDF is not good enough, and I want to use a Name Recognition Engine as a scorer. How can it be done? Thanks, Eyal.

Re: GroupingSearch return 0 when setAllGroups(true)

2012-12-01 Thread Michael McCandless
OK I opened https://issues.apache.org/jira/browse/LUCENE-4581 for this ... I'll commit a fix shortly. Thanks for reporting this! Mike McCandless http://blog.mikemccandless.com On Wed, Nov 28, 2012 at 9:28 AM, Michael McCandless wrote: > That sure looks like a bug! Could you open a Jira issue

Re: Difference in behaviour between LowerCaseFilter and String.toLowerCase()

2012-12-01 Thread Dawid Weiss
Iterating character-by-character is different than considering the entire string at once so your observation is correct, that's how it's supposed to work. In particular, note this in String#toLowerCase documentation: "Since case mappings are not always 1:1 char mappings, the resulting String may b