Which Similarity class do you use for the Lucene code? Solr has a custom one.

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