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

ASF subversion and git services commented on LUCENE-8459:
---------------------------------------------------------

Commit a9551404fd057c83abe3b47bbf9124d335790cbe in lucene-solr's branch 
refs/heads/master from Mike McCandless
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=a955140 ]

LUCENE-8459: add SearcherTaxonomyManager constructor taking already opened 
readers


> Add SearcherTaxonomyManager constructor taking already opened readers
> ---------------------------------------------------------------------
>
>                 Key: LUCENE-8459
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8459
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/facet
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Major
>             Fix For: 7.5, master (8.0)
>
>         Attachments: LUCENE-8459.patch
>
>
> Today it either takes {{IndexWriter}} or {{Directory}} (and it opens its own 
> {{DirectoryReader}}s) ... but I'd like to pass in my own reader so that e.g. 
> I can use a {{FilterDirectoryReader}}.  This is useful e.g. for tracking fun 
> low level stats like how many term dictionary lookups your queries are doing.
> My first attempt was to do my wrapping in {{SearcherFactory}}, but 
> {{SearcherManager}} gets angry when you do that ("SearcherFactory must wrap 
> exactly the provided reader").



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to