lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Turnbull <>
Subject Re: Calling rest API from Solr custom tokenizer plugin
Date Thu, 07 Dec 2017 04:31:10 GMT
A tokenizer plugin is probably not what you want, you probably want
something more like an UpdateProcessor that can manipulate the whole
document as it comes into Solr. Or you may want to avoid having a Solr
plugin call to an API and do this work outside of Solr (what happens when
the API is down, should doc updates fail? for example).

A tokenizer plugin would definitely not be recommended. Tokenizers need to
fast, low-level code that split up text into tokens based on readily
accesible config & data. The overhead of a network call would be far too

You probably want to put your extracted tags Into a different field anyway,
and a tokenizer only works on text within a single field.


On Wed, Dec 6, 2017 at 10:57 PM Sreenivas.T <> wrote:

> All,
> I need help from experts. We are trying to build a cognitive search
> platform with enterprise content from content sources like sharepoint, file
> share etc.. before content is getting indexed to Solr, I need to call our
> internal AI platform to get additional metadata like classification tags
> etc..
> I'm planning to leverage manifold cf for getting the content from sources
> and planning to write
> Custom tokenizer plugin to send the content to AI platform, which intern
> returns with additional tags. I'll index additional tags dynamically
> through plugin code.
> Is it a feasible solution?Is there any other way to achieve the same? I was
> planning to not to customize manifold cf.
> Please suggest
> Regards,
> Sreenivas
Consultant, OpenSource Connections. Contact info at; Free/Busy (

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message