Svein Parnas-2 wrote:
> 
> 
> One way to boost exact match of one occurrence of a multivalued field  
> is to add some kind of special start-of-field token and end-of-field  
> token in the data, eg:
> 
> <document>
>   <field name="professor">John Dane</field>
>   <field name="course">softok Algorithms eoftok</field>
>   <field name="course">softok Theory eoftok</field>
>   <field name="course">softok Computability, Complexity and Algorithms 
> eoftok</field>
> </document>
> 
> Then, in your query you can boost hits with the complete phrase  
> "softok queryword eoftok" by doing something like
> 
> queryword OR "softok queryword eoftok"^10
> 
> 

I see what you are saying, but what if the query string itself contains
multiple synonyms, for example something like "Algorithms, Theory". With
this I would end up having "softok Algorithms, Theory eoftok" which would
not match the indexed data. 

-- 
View this message in context: 
http://www.nabble.com/Querying-multivalued-field---can-scoring-formula-consider-only-matched-values--tp19865873p19961348.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to