On Sat, May 5, 2012 at 7:59 PM, Lance Norskog <goks...@gmail.com> wrote:
> Which Similarity class do you use for the Lucene code? Solr has a custom one.

I am embarassed to report that I also have a custom similarity that I
didn't know about, and once I configured that into Solr all was well.


>
> On Fri, May 4, 2012 at 6:30 AM, Benson Margulies <bimargul...@gmail.com> 
> wrote:
>> So, I've got some code that stores the same documents in a Lucene
>> 3.5.0 index and a Solr 3.5.0 instance. It's only five documents.
>>
>> For a particular field, the Solr norm is always 0.625, while the
>> Lucene norm is .5.
>>
>> I've watched the code in NormsWriterPerField in both cases.
>>
>> In Solr we've got .577, in naked Lucene it's .5.
>>
>> I tried to check for boosts, and I don't see any non-1.0 document or
>> field boosts.
>>
>> The Solr field is:
>>
>> <field name="bt_rni_NameHRK_encodedName" type="text_ws" indexed="true"
>> stored="true" multiValued="false" />
>
>
>
> --
> Lance Norskog
> goks...@gmail.com

Reply via email to