I was having a problem with using wildcard. It seems that the wildcard does not work when it is at the end of a word. If I search for patient (* is not appended to the search term), it returns results. If I search for patient (* is appended to the search term), it does not return result. To support wild card search: Try using EdgeNGrams. Just add the edgytext field type to schema.xml, and change the field type of the field you want to search Use EDisMax (ExtendedDismaxQParser). It handle both trailing and leading wildcards. I was also having a problem with phrase synonym.
Read full article from Apache Solr - Khai's personal knowledge vault.
No comments:
Post a Comment