Re: Field length and scoring

2012-03-24 Thread Erik Fäßler
Ahh, that's it - I thought of such a thing but couldn't find a proper affirmation with Google. Thank you both for your answers. I guess I will just sort by value length myself. Only one thing: Erick said my examples would both be one token long. But I rather think, there are both one "value" l

Re: Field length and scoring

2012-03-23 Thread Ahmet Arslan
> Also, the field length is enocded in a byte (as I remember). > So it's > quite possible that, > even if the lengths of these fields were 3 and 4 instead of > both being > 1, the value > stored for the length norms would be the same number. Exactly. http://search-lucene.com/m/uGKRu1pvRjw

Re: Field length and scoring

2012-03-23 Thread Erick Erickson
Erik: The field length is, I believe, based on _tokens_, not characters. Both of your examples are exactly one token long, so the scores are probably identical Also, the field length is enocded in a byte (as I remember). So it's quite possible that, even if the lengths of these fields were 3

Field length and scoring

2012-03-23 Thread Erik Fäßler
Hello there, I have a quite basic question but my Solr is behaving in a way I'm not quite sure of why it does so. The setup is simple: I have a field "suggestionText" in which single strings are indexed. Schema: Since I want this field to serve for a suggestion-search, the input string is