lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (Issue Comment Edited) (JIRA) <j...@apache.org>
Subject [jira] [Issue Comment Edited] (SOLR-3086) eDismax: Allow controlling what query features to support
Date Tue, 13 Mar 2012 12:11:38 GMT

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

Jan Høydahl edited comment on SOLR-3086 at 3/13/12 12:10 PM:
-------------------------------------------------------------

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?
                
      was (Author: janhoy):
    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
>             Fix For: 4.0
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message