solr query with white space

后端 未结 5 1849
轻奢々
轻奢々 2020-12-05 22:54

I search for a word and I get the results with facet as follows:


108
&l         


        
5条回答
  •  北荒
    北荒 (楼主)
    2020-12-05 23:27

    I guess you can use

    fq={!raw f=itemtype}Supply Chain Intermediaries
    

    for that purpose

    It tuns out that you have to use !term instead of !raw for Solr version >= 4.0

    http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201012.mbox/%3C4D121F73.3090706@jhu.edu%3E

    Have a nice day.

提交回复
热议问题