If this is for a quick test, have you tried just faceting on that
field with document ID set through query? Facet returns the
indexed/tokenized items.

Regards,
    Alex.


----
Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter:
http://www.solr-start.com/


On 20 August 2015 at 11:34, Jean-Pierre Lauris <jplau...@gmail.com> 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?
>
> Thanks,
> Jean-Pierre.

Reply via email to