Hi,
the resources must be setup inside the JAR file in the same way like in
classpath of your IDE. As you did not give any examples and also removed the
resource name from your stack trace so we cannot figure out what you are doing!
The default builder uses the context classloader of current th
A TokenFilter object already build won't work, because the Analyzer must create
new instances of the TokenFilters as needed.
Uwe
-
Uwe Schindler
Achterdiek 19, D-28357 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
> -Original Message-
> From: Nicolás Lichtmaier [mailto:nicol
Hi,
The documentation for the CustomAnalyzer Analyzer is very specific, one can
create an instance of a custom analyzer in three different ways.
Using the default CustomAnalizer.builder(...), is supposed to load all
resources from the classpath, and it works ok inside the IDE. But when I depl
You don't need a Lucene Parser (They don't exist). In stead use a Java
Parser (such as dom4j). I personally prefer DOM. It allows XPATH to extract
exactly what you need. SAX is an alternative to DOM. SAX isn't however
recommended by the W3C and lacks many of the extraction methods available
in DOM.
I'm using a CustomAnalyzer.Builder to set up an analyzer. I now would
like to add synonym processing, I already have the SynonymMap in memory.
But the builder interface only takes String arguments. Wouldn't it be a
good thing to add a method to CustomAnalyzer.Builder to add a
TokenFilter object
If you move to Lucene 6.1, then this should be Lucene60Codec. More
generally that would be the same codec that is returned by Codec.getDefault.
Le mer. 29 mars 2017 à 18:11, Andreas Sewe a
écrit :
> Hi,
>
> I am currently attempting a Lucene 5.x to 6.x migration (from 5.2.1 to
> 6.1, to be preci
Hi,
I am currently attempting a Lucene 5.x to 6.x migration (from 5.2.1 to
6.1, to be precise), and am looking for a replacement for Lucene50Codec:
indexWriterConfig.setCodec(new Lucene50Codec(Mode.BEST_COMPRESSION));
The org.apache.lucene.codecs.lucene50 package is still there, so what I
am a
Dear All,
I am writing an index for my project. Basically, I need to index documents
that have the following string parts
(s1=uri1, s2=url1##sameAs.org service@@url2##source KG owl:sameas@@).
To do so, I am using the following code:
TO ADD:
String urlString="subA"
String tmp = "url1##sameAs.