Hi guys,

I need to change the score of a document based on the value of a multifield.
I thoght that maybe I need to set boost in index-time (but I don't sure).
Now I explain you my situation:

- I'm usng solr4.4 
- I'm index data using dataimporthandler with rdbms
- my documents are a particular kind of places
- my field are places and their review and description
- my multifield is distance_place beacause each place (one place is a field)
has a lot of review or description

I'm tring with the following request but it return error "can not use
FieldCache on multivalued field: distance_place"

http://localhost:8983/solr/myCore/select?q={!boost b=distance_place v=$qq
defType=dismax}&qq=pizza&fl=*,score&qf=text_review+text_description

I'm thinking that if I set the boost at each review/description with the
value of the distance_place in index-time it is easy, but in this case I
don't know which is the right syntax to set the boost into db-dataimport.xml
file.

Please, Any suggests? 
Thanks in advance.




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Change-the-score-of-a-document-based-on-the-value-of-a-multifield-using-dismax-tp4087503.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to