lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emir Arnautović <emir.arnauto...@sematext.com>
Subject Re: Running an analyzer chain in an update request processor
Date Sat, 07 Apr 2018 11:55:35 GMT
Hi Walter,
I did this sample processor for the purpose of having doc values on analysed field: https://github.com/od-bits/solr-multivaluefield-processor
<https://github.com/od-bits/solr-multivaluefield-processor>

(+ related blog: http://www.od-bits.com/2018/02/solr-docvalues-on-analysed-field.html <http://www.od-bits.com/2018/02/solr-docvalues-on-analysed-field.html>)

HTH,
Emir
--
Monitoring - Log Management - Alerting - Anomaly Detection
Solr & Elasticsearch Consulting Support Training - http://sematext.com/



> On 6 Apr 2018, at 23:46, Walter Underwood <wunder@wunderwood.org> wrote:
> 
> Is there an easy way to define an analyzer chain in schema.xml then run it in an update
request processor?
> 
> I want to run a chain ending in the minhash token filter, then take those minhashes,
convert them to hex, and put them in a string field. I’d like the values stored.
> 
> It seems like this could all work in an update request processor. Grab the text from
one field, run it through the chain, format the output tokens and add them to the field for
hashes.
> 
> wunder
> Walter Underwood
> wunder@wunderwood.org
> http://observer.wunderwood.org/  (my blog)
> 


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