You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by ph...@free.fr on 2015/03/12 10:03:16 UTC

DocumentAnalysisRequestHandler

Hello,

my solr logs say:

INFO  - 2015-03-12 08:49:34.900; org.apache.solr.core.RequestHandlers; created /analysis/document: solr.DocumentAnalysisRequestHandler
WARN  - 2015-03-12 08:49:34.919; org.apache.solr.core.SolrResourceLoader; Solr loaded a deprecated plugin/analysis class [solr.admin.AdminHandlers]. Please consult documentation how to replace it accordingly.


Is /analysis/document deprecated in SOLR 5?

<requestHandler name="/analysis/document" 
                  class="solr.DocumentAnalysisRequestHandler" 
                  startup="lazy" />


What is the modern equivalent of Luke?

Many thanks.

Philippe

Re: DocumentAnalysisRequestHandler

Posted by Dmitry Kan <so...@gmail.com>.
>> What is the modern equivalent of Luke?

It is same Luke, but polished:

http://github.com/DmitryKey/luke

On Thu, Mar 12, 2015 at 11:03 AM, <ph...@free.fr> wrote:

> Hello,
>
> my solr logs say:
>
> INFO  - 2015-03-12 08:49:34.900; org.apache.solr.core.RequestHandlers;
> created /analysis/document: solr.DocumentAnalysisRequestHandler
> WARN  - 2015-03-12 08:49:34.919; org.apache.solr.core.SolrResourceLoader;
> Solr loaded a deprecated plugin/analysis class [solr.admin.AdminHandlers].
> Please consult documentation how to replace it accordingly.
>
>
> Is /analysis/document deprecated in SOLR 5?
>
> <requestHandler name="/analysis/document"
>                   class="solr.DocumentAnalysisRequestHandler"
>                   startup="lazy" />
>
>
> What is the modern equivalent of Luke?
>
> Many thanks.
>
> Philippe
>



-- 
Dmitry Kan
Luke Toolbox: http://github.com/DmitryKey/luke
Blog: http://dmitrykan.blogspot.com
Twitter: http://twitter.com/dmitrykan
SemanticAnalyzer: www.semanticanalyzer.info

Re: DocumentAnalysisRequestHandler

Posted by Jack Krupansky <ja...@gmail.com>.
Yes, the admin handlers are deprecated because they are now implicit - no
need to specify them in solrconfig. Yeah, the doc is very unclear on that
point, but in CHANGES.TXT: "*AdminHandlers is deprecated , /admin/* are
implicitly defined, /get ,/replication and handlers are also implicitly
registered (refer to SOLR-6792)*". IOW, remove the <requestHandler> XML
element from your solrconfig.

As far as the document analysis request handler, that should still be fine.
Are you encountering some problem? The first log line you gave is just an
INFO - information only, not a problem.

-- Jack Krupansky

On Thu, Mar 12, 2015 at 5:03 AM, <ph...@free.fr> wrote:

> Hello,
>
> my solr logs say:
>
> INFO  - 2015-03-12 08:49:34.900; org.apache.solr.core.RequestHandlers;
> created /analysis/document: solr.DocumentAnalysisRequestHandler
> WARN  - 2015-03-12 08:49:34.919; org.apache.solr.core.SolrResourceLoader;
> Solr loaded a deprecated plugin/analysis class [solr.admin.AdminHandlers].
> Please consult documentation how to replace it accordingly.
>
>
> Is /analysis/document deprecated in SOLR 5?
>
> <requestHandler name="/analysis/document"
>                   class="solr.DocumentAnalysisRequestHandler"
>                   startup="lazy" />
>
>
> What is the modern equivalent of Luke?
>
> Many thanks.
>
> Philippe
>