[ 
https://issues.apache.org/jira/browse/SOLR-3086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198434#comment-13198434
 ] 

Jan Høydahl commented on SOLR-3086:
-----------------------------------

Possible set of parameters:
{noformat}
# The prefix "us" means UserSyntax, inspired by "uf" - UserFields. All will 
default to true
us.all=false         # quick way to disable all query syntaxes (except "dismax" 
style syntaxes)
us.bool=false        # disable boolean operators
us.range=false       # disable numeric/date range queries price:[10 TO 20]
us.fuzzy=false       # disable fuzzy operator "~"
us.wildcard=false    # disable wildcard operators for field valued "foo:*" or 
"foo:b?r"
us.parens=false      # disable parens ()
us.boost=false       # disable boost operator "^"
us.fieldwild=false   # disable wildcard for field name "*:foo"
us.slop=false        # disable phrase slop "foo bar"^2
{noformat}

Would this work? Forgot any query syntax which should also be possible to 
disable?
                
> eDismax: Allow controlling what query features to support
> ---------------------------------------------------------
>
>                 Key: SOLR-3086
>                 URL: https://issues.apache.org/jira/browse/SOLR-3086
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Jan Høydahl
>
> As per request from Hoss in SOLR-2368, this issue will add configuration 
> parameters to eDisMax to give user control over what query syntax will be 
> allowed and disallowed. This will allow us to effectively lobotomize eDisMax 
> to behave the same way as the old DisMax and accept all kinds of weird input 
> and correctly escape it to match literally, even if it's valid syntax for a 
> query feature.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to