[jira] Commented: (SOLR-219) Determine if prefix, wildcard, fuzzy queries should be lowercased
[ https://issues.apache.org/jira/browse/SOLR-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494623 ] Yonik Seeley commented on SOLR-219: --- I personally much prefer having direct control over query case sensitivity on a per-field basis, thanks! Sure, if Solr is going to get it incorrect. I'm inclined to wait until someone comes up with an analyzer where we *can't* figure out if it's case insensitive or not before adding more configuration complexity... for the sake of both solr developers and users. Determine if prefix, wildcard, fuzzy queries should be lowercased - Key: SOLR-219 URL: https://issues.apache.org/jira/browse/SOLR-219 Project: Solr Issue Type: Improvement Reporter: Yonik Seeley Priority: Minor Attachments: lowercase_prefix.patch Solr should be able to do the right thing when doing prefix/wildcard/fuzzy queries on fields with respect to lowercasing or not. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (SOLR-219) Determine if prefix, wildcard, fuzzy queries should be lowercased
[ https://issues.apache.org/jira/browse/SOLR-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12492751 ] Hoss Man commented on SOLR-219: --- I'm not opposed to an approach like this ... but it seems like a slippery slope to go down, with hard coded test strings, and assumptions about how analyzers will behave in all cases beased on one test case. perhaps a simpler approach that requires less guess work would be adding the ability for Fields and FieldTypes to container arbitrary key/val pair options that can be accessed as a map, and document that SolrQueryParser looks at some of these to make query parsing decisions? fieldType name=text_ws class=solr.TextField positionIncrementGap=100 analyzer tokenizer class=solr.WhitespaceTokenizerFactory/ /analyzer option name=lowerCaseForPrefixfalse/option /fieldType Determine if prefix, wildcard, fuzzy queries should be lowercased - Key: SOLR-219 URL: https://issues.apache.org/jira/browse/SOLR-219 Project: Solr Issue Type: Improvement Reporter: Yonik Seeley Priority: Minor Attachments: lowercase_prefix.patch Solr should be able to do the right thing when doing prefix/wildcard/fuzzy queries on fields with respect to lowercasing or not. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (SOLR-219) Determine if prefix, wildcard, fuzzy queries should be lowercased
[ https://issues.apache.org/jira/browse/SOLR-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12492779 ] Michael Pelz-Sherman commented on SOLR-219: --- IMHO, if this is implemented, it should be optional (via schema configuration) and NOT the default behavior. I personally much prefer having direct control over query case sensitivity on a per-field basis, thanks! Determine if prefix, wildcard, fuzzy queries should be lowercased - Key: SOLR-219 URL: https://issues.apache.org/jira/browse/SOLR-219 Project: Solr Issue Type: Improvement Reporter: Yonik Seeley Priority: Minor Attachments: lowercase_prefix.patch Solr should be able to do the right thing when doing prefix/wildcard/fuzzy queries on fields with respect to lowercasing or not. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.