Understading Solr nested queries

前端 未结 3 716
温柔的废话
温柔的废话 2021-01-23 22:11

I\'m trying to understand solr nested queries but I\'m having a problem undestading the syntax.

I have the following two indexed documents (among others):



        
3条回答
  •  再見小時候
    2021-01-23 22:52

    Need to remove the "=" and replace it with ":" to use the nested query syntax:

    q="Fulano Silva"~2 AND _query_:"{!edismax qf=city}fortaleza" &defType=edismax&qf=name&fl=score

    *Use _query_: instead of _query_=

    Hope this works...

提交回复
热议问题