lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Smet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7058) Add getters for the properties of several Query implementations
Date Thu, 03 Mar 2016 13:27:18 GMT

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

Guillaume Smet commented on LUCENE-7058:
----------------------------------------

Yes, would be a good rule of thumb to always expose the properties through getters for the
new Query implementations. Don't know if you have documentation somewhere for this.

> Add getters for the properties of several Query implementations
> ---------------------------------------------------------------
>
>                 Key: LUCENE-7058
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7058
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/query/scoring
>            Reporter: Guillaume Smet
>            Assignee: Alan Woodward
>              Labels: patch
>         Attachments: query-getters-v01.00.diff
>
>
> Hi!
> At Hibernate Search, we are currently working on an Elasticsearch backend (aside from
the existing Lucene backend).
> As part of this effort, to provide a smooth migration path, we need to be able to rewrite
the Lucene queries as Elasticsearch queries. We know it will be neither perfect or comprehensive
but we want it to be the best possible experience.
> It works well in many cases but several implementations of Query don't have the necessary
getters to be able to extract the information from the Query.
> The attached patch add getters to several implementations of Query. It would be nice
if it could be applied.
> Any chance it could be applied to the next point release too? (probably not but I'd better
ask).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message