lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Dvinov (JIRA)" <>
Subject [jira] [Updated] (SOLR-3039) ExtendedDismaxQParser should allow for extension of parsing-related behavior
Date Thu, 11 Oct 2012 22:39:02 GMT


Danny Dvinov updated SOLR-3039:

    Attachment: SOLR-3039.patch

Changes include:
- Making ExtendedDismaxQParser public to allow implementations that can extend it (and pulling
it out into a separate file,
- Making ExtendedSolrQueryParser protected to allow to allow implementations that can extend
- Introducing 3 protected methods on ExtendedDismaxQParser to allow implementations that extend
ExtendedDismaxQParser to override some of the behavior:
1. ExtendedSolrQueryParser getQueryParser to allow specifying the parser used to parse the
2. boolean includeClause(Clause clause) to allow overriding whether given clause should be
part of the {@link} being parsed.
3. String preProcessUserQuery(String queryString) to allow pre-processing the query string
prior to parsing.
> ExtendedDismaxQParser should allow for extension of parsing-related behavior
> ----------------------------------------------------------------------------
>                 Key: SOLR-3039
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: query parsers
>    Affects Versions: 5.0
>            Reporter: Danny Dvinov
>            Priority: Minor
>              Labels: edismax, parser, parsing
>             Fix For: 5.0
>         Attachments: SOLR-3039.patch, SOLR-3039.patch, SOLR-3039.patch, SOLR-3039.patch
>   Original Estimate: 24h
>  Remaining Estimate: 24h
> ExtendedDismaxQParser.parse does not currently allow for things like query pre-processing
prior to its parsing, specifying the parser to be used, and whether particular clause should
be included in the query being parsed. Furthermore, ExtendedDismaxQParser and inner ExtendedSolrQueryParser
cannot be subclassed. By resolving this issue, we'll provide a way for Solr implementations
to extend the parser and parsing related behavior.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

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

View raw message