Dear reader,
I'll have a hierarchical graph "like a book":
{ id:solr_doc1; title:book }
{ id:solr_doc2; title:chapter; parent_ids: solr_doc1 }
{ id:solr_doc3; title:subchapter; parent_ids: solr_doc2 }
etc.
Now to match all docs with "title" and "chapter" I could do:
+_query_:"{!graph from=parent_ids to=id}title:book"
+_query_:"{!graph from=parent_ids to=id}title:chapter",
The result would be solr_doc2 and solr_doc3;
but is there a way to "boost" or "put a higher score" on solr_doc2 than
on solr_doc3 because of direct match (and not via {!graph... ) ?
The only way to do so seems a {!boost before {!graph, but what I can do
there is not dependent on the match nor {!graph, I think.
Kind regards,
Jochen
--
Jochen Barth * Universitätsbibliothek Heidelberg, IT * Telefon 06221 54-2580