I’m heading out on vacation for about a week and half, not sure I’ll have time.

Start with the discussion in this mail thread.

http://lucene.472066.n3.nabble.com/Running-an-analyzer-chain-in-an-update-request-processor-td4384207.html
 
<http://lucene.472066.n3.nabble.com/Running-an-analyzer-chain-in-an-update-request-processor-td4384207.html>

But I would also think about other ways to do it.

wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/  (my blog)

> On Dec 13, 2018, at 9:37 PM, 유정인 <y100...@interpark.com> wrote:
> 
> WalterUnderwood, thank you for your reply.
> 
> If you can afford the time, can you give us a specific sample of the proposed 
> method?
> 
> Thank you.
> 
> -----Original Message-----
> From: Walter Underwood <wun...@wunderwood.org> 
> Sent: Friday, December 14, 2018 12:11 PM
> To: solr-user@lucene.apache.org
> Subject: Re: [solr-index]Can I do a lot of analysis on one field at the time 
> of indexing?
> 
> Right, no feature that does that for you.
> 
> You should be able to code that with an update request processor script.
> You can fetch an analyzer chain, run it, add the results to a field, then do 
> that again.
> 
> I have one that runs a chain with minhash then saves the hex values of the 
> hashes to a field.
> 
> It is fussy, but doable.
> 
> wunder
> Walter Underwood
> wun...@wunderwood.org
> http://observer.wunderwood.org/  (my blog)
> 
>> On Dec 13, 2018, at 6:55 PM, Erick Erickson <erickerick...@gmail.com> wrote:
>> 
>> In a word, "no". A field can have exactly one tokenizer, and there are 
>> no conditional filters. You can copyField to multiple individual 
>> fields and treat each one of those differently, i.e. copy from title 
>> to title1, title2 etc. where each one has a different analysis chain.
>> 
>> Best,
>> Erick
>> On Thu, Dec 13, 2018 at 5:21 PM 유정인 <y100...@interpark.com> wrote:
>>> 
>>> Hello
>>> 
>>> I have a question about index schemas.
>>> 
>>> 1) Can I do various analysis on one field?
>>> For example, you can analyze the 'title' field with multiple 
>>> tokenizers, and merge the analysis into a single field.
>>> 
>>> 2) You can collect multiple fields in one field using 'copyField' function.
>>> However, several fields have different data attributes (eg, category 
>>> fields, text fields, etc.) _) At this time, I would like to analyze 
>>> each field differently.
>>> 
>>> Do you have these features in version 7.5? Is there any kind of 
>>> shortcut to do these similar functions?
>>> 
>>> Thank you for your advice.
> 
> 

Reply via email to