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

Alan Woodward commented on LUCENE-8766:
---------------------------------------

I've simplified the API some more, bringing things more into line with how 
other bits of lucene work:
* You no longer need to specify a query parser if you're using the Monitor as 
an ephemeral object, with no expectation of persistence between JVM runs.  The 
monitor now takes Query objects directly, rather than string representations 
(although you can still pass string representations and set a query parser if 
you do want the query index to persist on disk).
* Instead of the InputDocument and DocumentBatch abstractions, you now pass a 
Document or Document[].  The monitor itself is defined with an Analyzer to use 
when indexing documents.
* TermFilteredPresearcher is the default query filtering implementation.  Field 
filtering by query metadata is folded directly into it, and custom query 
handling is separated out.
* I've added javadocs and package information describing how to use things.

I'll add a migration document to the luwak repository to help people moving 
from the standalone project to the lucene version.

> Add Luwak as a lucene module
> ----------------------------
>
>                 Key: LUCENE-8766
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8766
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Luwak [https://github.com/flaxsearch/luwak] is a stored query engine, 
> allowing users to efficiently match a stream of documents against a large set 
> of queries.  It's only dependency is lucene, and most recent updates have 
> just been upgrading the version of lucene against which it can run.
> It's a generally useful piece of software, and already licensed as Apache 2.  
> The maintainers would like to donate it to the ASF, and merge it in to the 
> lucene-solr project.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to