I have solr schema with certain fields:
<field name="id" type="integer" indexed="true" stored="true" required="true" multiValued="false" />
<field name="title" type="text" indexed="true" stored="true" multiValued="false" />
<field name="note" type="text" indexed="true" stored="true" multiValued="false" />
Now i searching over it with query (where %s is my search string)
q={!boost b=recip(ms(NOW,date),3.16e-11,1,1)}%s&defType=dismax&qf=title^100 note
and i need something like tags for each record.
<field name="tags" type="string" indexed="true" stored="false" multiValued="true" />
How can i boost results for that records, where one of words match one of value from "tags" field?
update
Just figured out, that if i remove {!boost b=recip(ms(NOW,date),3.16e-11,1,1)} from my q, my query working exactly how i want. But with this it don't
update 2
Just figured out, that previously "just figured out" was completele wrong. I get it work for some search strings, but it don't work well for me. I think that i need this behaviour:
in "title" and "note" fields i need search words with "AND", but in "tags" field i need search with "OR". How can i do it with dismax?
I try now with {!boost} and query functions, but without any good result