Yes, do this in an update request processor before it gets to the analyzer 
chain.

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

On Jun 29, 2015, at 3:19 PM, Erick Erickson <erickerick...@gmail.com> wrote:

> Hmmm, very hard to do currently. The _point_ of stored fields is that
> an exact, verbatim
> copy of the input is returned in fl lists and this is violating that
> promise. I suppose some
> kind of custom update processor could work, but it's really "roll your
> own" funcitonality
> I think.
> 
> Best,
> Erick
> 
> On Mon, Jun 29, 2015 at 8:38 AM, hossmaa <andreea.hossm...@gmail.com> wrote:
>> Hi Markus
>> 
>> Thanks for the reply. I'm already using the Synonyms filter and it is
>> working fine (i.e., when I search for "customer", it also returns documents
>> containing "cst.").
>> What the synonyms filter does not do is to actually replace the word "cst."
>> with "customer" in the document.
>> 
>> Just to be clearer: in the returned results, I do not want to see the word
>> "cst." any more (it should be permanently replaced with "customer"). I want
>> to only see the expanded form.
>> 
>> Cheers
>> A.
>> 
>> 
>> 
>> --
>> View this message in context: 
>> http://lucene.472066.n3.nabble.com/Correcting-text-at-index-time-tp4214636p4214643.html
>> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to