On Thu, Aug 20, 2015, at 04:34 PM, Jean-Pierre Lauris wrote:
> Hi,
> I'm trying to obtain indexed tokens from a document id, in order to see
> what has been indexed exactly.
> It seems that DocumentAnalysisRequestHandler does that, but I couldn't
> figure out how to use it in java.
> 
> The doc says I must provide a contentstream but the available init()
> method
> only takes a NamedList as a parameter.
> https://lucene.apache.org/solr/5_1_0/solr-core/org/apache/solr/handler/DocumentAnalysisRequestHandler.html
> 
> Could somebody provide me with a short example of how to get index
> information from a document id?

If you are talking about what I think you are, then that is used by the
Admin UI to implement the analysis tab. You pass in a document, and it
returns it analysed.

As Alexandre says, faceting may well get you there if you want to query
a document already in your index.

Upayavira

Reply via email to