You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Rosa Margarita Casillas <ma...@mx1.ibm.com> on 2019/10/07 21:33:56 UTC
Issue in consuming Lucene plugin
Hi team,
I am from the Data Studio team, we are consuming the
**org.apache.lucene.core** plugin in our source code. Where in we updated the
**org.apache.lucene.core** version from **2.9.0 to 7.1.0** **(supported by
Photon)**.
But doing that gives us the compilation error in below statements,
_import org.apache.lucene.queryParser.ParseException;
import org.apache.lucene.queryParser.QueryParser;
import org.apache.lucene.search.Searcher;_
_Seems like cant find it_
Can you please let us know how to resolve these imports? does something
changed about that classes in new Photon content from previous versions?
Thank you,
Rosa Casillas
\--------------------------------------------------------------------- To
unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional
commands, e-mail: dev-help@lucene.apache.org
Re: Issue in consuming Lucene plugin
Posted by Mikhail Khludnev <mk...@apache.org>.
Hello, Rosa.
You can try to replace them to
org.apache.lucene.queryparser.classic.QueryParser
org.apache.lucene.queryparser.classic.ParseException
org.apache.lucene.search.IndexSearcher
Though, migrating from 2.9 to 7 might have high mileage.
On Tue, Oct 8, 2019 at 5:32 AM Rosa Margarita Casillas <ma...@mx1.ibm.com>
wrote:
> Hi team,
>
> I am from the Data Studio team, we are consuming the
> *org.apache.lucene.core* plugin in our source code. Where in we updated
> the *org.apache.lucene.core* version from *2.9.0 to 7.1.0**(supported by
> Photon)*.
> But doing that gives us the compilation error in below statements,
>
>
>
> *import org.apache.lucene.queryParser.ParseException;import
> org.apache.lucene.queryParser.QueryParser;import
> org.apache.lucene.search.Searcher;*
>
>
> *Seems like cant find it*
>
> Can you please let us know how to resolve these imports? does something
> changed about that classes in new Photon content from previous versions?
>
> Thank you,
> Rosa Casillas
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional
> commands, e-mail: dev-help@lucene.apache.org
--
Sincerely yours
Mikhail Khludnev