completer is not a SuggestField

2017-04-17 Thread Leonardo Pérez Pulido
Hello everyone, java.lang.IllegalArgumentException: completer is not a SuggestField, is the exception I got when I run a completion query against a suggest field. At index-time I have a CustomAnalyzer like: ClasspathResourceLoader resourceLoader = new ClasspathResourceLoader(Indexer

Re: CustomAnalyzer.Builder builder()

2017-03-30 Thread Leonardo Pérez Pulido
quot;. In that case you can also go with the default builder() and you have no classloader issues. Uwe - Uwe Schindler Achterdiek 19, D-28357 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Leonardo Pérez Pulido [mailto:leoperezpul...@hot

Re: CustomAnalyzer.Builder builder()

2017-03-30 Thread Leonardo Pérez Pulido
-28357 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Leonardo Pérez Pulido [mailto:leoperezpul...@hotmail.com] > Sent: Thursday, March 30, 2017 2:30 PM > To: java-user@lucene.apache.org > Subject: Re: CustomAnalyzer.Builder builder() > &

Re: CustomAnalyzer.Builder builder()

2017-03-30 Thread Leonardo Pérez Pulido
--- Uwe Schindler Achterdiek 19, D-28357 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Leonardo Pérez Pulido [mailto:leoperezpul...@hotmail.com] > Sent: Thursday, March 30, 2017 12:34 AM > To: java-user@lucene.apache.org > Subject: CustomAnaly

CustomAnalyzer.Builder builder()

2017-03-29 Thread Leonardo Pérez Pulido
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