Synonyms would certainly let you index the field values consistently, but
you would not see the normalized values in query results, since results use
the stored, original value, not the final indexed term.
But you could use an update processor to map the terms that would be stored
and returned on queries. You could use a regex replacement or write a
JavaScript script with a stateless script update processor to do more
extensive mapping.
-- Jack Krupansky
-----Original Message-----
From: Bruno Mannina
Sent: Friday, October 25, 2013 11:08 AM
To: solr-user@lucene.apache.org
Subject: Re: Normalized data during indexing ?
Hi Michael,
thanks it sounds like I'm looking for....
I need to investigate....
Thanks a lot !
Le 25/10/2013 14:46, michael.boom a écrit :
Maybe this can help you:
https://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory
-----
Thanks,
Michael
--
View this message in context:
http://lucene.472066.n3.nabble.com/Normalized-data-during-indexing-tp4097750p4097752.html
Sent from the Solr - User mailing list archive at Nabble.com.
---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant
parce que la protection avast! Antivirus est active.
http://www.avast.com