On 4/18/2018 1:12 PM, Wendy2 wrote: > "debug":{ > "debugQuery mode indicates that Solr dropped the ""A."" when parsing the > query: > ""debug"":{ > ""rawquerystring"":""\""Ellington, A.\"""", > ""querystring"":""\""Ellington, A.\"""", > > ""parsedquery"":""(+DisjunctionMaxQuery(((entity_name_com.name:ellington)^20.0)))/no_coord"", > ""parsedquery_toString"":""+((entity_name_com.name:ellington)^20.0)"", > ""QParser"":""ExtendedDismaxQParser"", "
Very likely the period was removed by the tokenizer or a filter like WordDelimiterFilter. Then I would guess that the "a" was removed by a StopFilter. Open your admin UI, choose your index from the dropdown, and click "Analysis." Then choose the entity_name_com.name field from the dropdown, and type "Ellington, A." (without the quotes) in the "Query" side. When the analysis completes, you will be able to tell exactly what each step in your analysis chain is doing to the input. I would recommend NOT using a stopword filter. Modern server hardware usually has plenty of resources to handle indexes with stopwords still included, and removing stopwords can cause certain search problems. Thanks, Shawn