Hi,
Faceting is indeed the best way to do it.
Here is how it will look like in java:
SolrQuery query = new SolrQuery();
query.setQuery("id:" + docId);
query.setFacet(true);
query.addFacetField("text"); // You can add all fields you
want to inspect
query
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 s
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,
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