Re: TermFrequency in a multi-valued field

2013-08-07 Thread Jeff Wartes
>A multivalued text field is directly equivalent to concatenating the >values, >with a possible position gap between the last and first terms of adjacent >values. That, in a nutshell, would be the problem. Maybe the discussion is over at this point. It could be I dumbed down the problem a b

Re: TermFrequency in a multi-valued field

2013-08-07 Thread Jack Krupansky
hes, not individual terms within values.) You need to clarify your use case. -- Jack Krupansky -Original Message- From: Jeff Wartes Sent: Wednesday, August 07, 2013 4:05 PM To: solr-user@lucene.apache.org Subject: TermFrequency in a multi-valued field This might end up being more of

TermFrequency in a multi-valued field

2013-08-07 Thread Jeff Wartes
This might end up being more of a Lucene question, but anyway... For a multivalued field, it appears that term frequency is calculated as something a little like: sum(tf(value1), ..., tf(valueN)) I'd rather my score not give preference based on how *many* of the values in the multivalued field