collins
collins copied to clipboard
search display options are not quoted
I'm not sure of this is a problem with html form or solr, or with spaces or other special characters. If optionDisplay is used for search field and the value selcted has some combination of the above, then the search will return no results. Since the dropdown values are expected to be exact I believe they should probably be quoted.
Does not work:
2013-03-18 08:57:30,063 - [DEBUG] - CollinsSearchQuery - p.a.LoggerLike$class:debug:70 - SOLR: (BASE_PRODUCT_meta_s:*ProLiant SL335s G7 (random-string)*) AND DOC_TYPE:ASSET| sort: TAG_SORT
By hand CQL query, does work:
2013-03-18 08:58:25,650 - [DEBUG] - CollinsSearchQuery - p.a.LoggerLike$class:debug:70 - SOLR: (BASE_PRODUCT_meta_s:"ProLiant SL335s G7 (random-string)") AND DOC_TYPE:ASSET| sort: TAG_SORT