Head meet brick. Thank you, Uwe!
-Original Message-
From: Uwe Schindler [mailto:u...@thetaphi.de]
Sent: Friday, June 23, 2017 11:23 AM
To: java-user@lucene.apache.org
Subject: RE: Extending Analyzer at runtime
Hi,
Or just use CustomAnalyzer, shipped with Lucene since version 5.0. No
re.org]
> Sent: Friday, June 23, 2017 3:55 PM
> To: java-user@lucene.apache.org; nb...@ebi.ac.uk
> Subject: RE: Extending Analyzer at runtime
>
> I plagiarized Solr's org.apache.solr.analysis.TokenizerChain to read the
> configuration from a json file:
>
> https://github.com/
Thanks Alan,
I will take a look at it.
Nicola
-- Original message--From: Alan WoodwardDate: Fri, 23 Jun 2017 14:55To:
java-user@lucene.apache.org;nb...@ebi.ac.uk;Cc: Subject:Re: Extending Analyzer
at runtime
Hi,
You should be able to use AnalyzerWrapper for this, adding your TokenFilters
Hi,
You should be able to use AnalyzerWrapper for this, adding your TokenFilters in
wrapComponents().
Alan Woodward
www.flax.co.uk
> On 23 Jun 2017, at 14:33, Nicola Buso wrote:
>
> Hi,
>
> maybe it's a known question but I could not find and answer.
> I need to base an Analyzer on another
I plagiarized Solr's org.apache.solr.analysis.TokenizerChain to read the
configuration from a json file:
https://github.com/tballison/lucene-addons/blob/6.x/gramreaper/src/main/java/org/tallison/gramreaper/ingest/schema/MyTokenizerChain.java
I wouldn't recommend using anything in gramreaper just