[
https://issues.apache.org/jira/browse/LUCENE-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Wang updated LUCENE-1061:
------------------------------
Attachment: lucene_patch.txt
This patch introduces a new file: QueryBuilder which is just a factory for
instantiating query objects.
And the class QueryParser is modified to use use the factory to build the final
query.
This is backward compatible.
> Adding a factory to QueryParser to instantiate query instances
> --------------------------------------------------------------
>
> Key: LUCENE-1061
> URL: https://issues.apache.org/jira/browse/LUCENE-1061
> Project: Lucene - Java
> Issue Type: Improvement
> Components: QueryParser
> Reporter: John Wang
> Attachments: lucene_patch.txt
>
>
> With the new efforts with Payload and scoring functions, it would be nice to
> plugin custom query implementations while using the same QueryParser.
> Included is a patch with some refactoring the QueryParser to take a factory
> that produces query instances.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]