Multiword synonyms with Solr and Hibernate Search
问题 I have a synonyms.txt file with content as below car accessories, gadi marmat and I am indexing car accessories as a single token so that it will expand to car accessories and gadi marmat . i want the whole synonyms to match so that when query for gadi marmat , the record with car accessories to be returned. I am using shingle filter factory to expand query so that when searching for gadi marmat , it will be expanded to gadi , gadi marmat and marmat , and since gadi marmat is queried as a