Re: How to use DocumentAnalysisRequestHandler in java

2015-08-22 Thread Xavier Tannier
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

How to use DocumentAnalysisRequestHandler in java

2015-08-20 Thread Jean-Pierre Lauris
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

Re: How to use DocumentAnalysisRequestHandler in java

2015-08-20 Thread Alexandre Rafalovitch
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

Re: How to use DocumentAnalysisRequestHandler in java

2015-08-20 Thread Upayavira
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