Hi
I have some docs in my solr index. and now i want to run a query. please
help me how create this query?
i have documents like this:
{
topic_code:"A"
},
{
topic_code:"B"
},
{
topic_code:"A"
},
{
topic_code:"A"
},
{
topic_code:"C"
},
{
topic_code:"A"
},..
now i want to get respanse from a solr 100 dosuments , and i want to have
70 document with topic_code:A and 10 documents with topic_code:B and 20
document with topic_code:C.
so i guess i need SOLR BOOST QUERY.
some thing like this :
q=(topic_code:A)^70 OR (topic_code:B)^20 OR (topic_code:C)^10 & row=100
but this isn't work.
could u help me to create a suitable query and get my best result ?
tnx.