lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <>
Subject [jira] [Closed] (SOLR-2643) Allow multiple field aliases in ExtendedDisMaxQParser
Date Fri, 14 Oct 2016 11:04:20 GMT


Jan Høydahl closed SOLR-2643.
    Resolution: Implemented

Closing this. Alias for edismax is already implemented, see

{code} last_name first_name

> Allow multiple field aliases in ExtendedDisMaxQParser
> -----------------------------------------------------
>                 Key: SOLR-2643
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 4.0-ALPHA
>            Reporter: Jamie Johnson
> The original DisMaxQParser seems to have support for handling multiple aliases so someone
could do query rewrite on more than just the default field.  If the ExtendedDisMaxQParser
supported this and exposed this capability we'd be able to build more powerful rewrite capabilities
such that could reduce the size of an index.  For instance say we have a scenario where we
have 3 fields first_name, last_name and name.  In this situation we don't completely control
the input, we may have first_name and last_name or just name.  In this case given 2 documents
as follows:
> Doc 1
> first_name: John
> last_name: Doe
> Doc 2
> name: Jane Doe
> if the user did a query on name:Doe we would be able to rewrite the query to return both
documents such that the query would be name:Doe OR first_name:Doe OR last_name:Doe

This message was sent by Atlassian JIRA

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

View raw message