lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (Commented) (JIRA) <>
Subject [jira] [Commented] (SOLR-3086) eDismax: Allow controlling what query features to support
Date Thu, 02 Feb 2012 01:27:53 GMT


Jan Høydahl commented on SOLR-3086:

Possible set of parameters:
# 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

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:
>             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:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message