I needed to do something like this recently as well. I needed to copy a date field (with full precision to the millisecond) to a string field of just YYYYMMDD. I didn't see a way to do it in solr core. I ended up doing it in the Data Import Handler during import. I'd rather have code like that in the core someplace in case documents are added via some other mechanism.


-Bryan




On May 18, 2009, at May 18, 1:44 AM, Yatir wrote:


Hi,
I need to write a filter that extracts information from the content of one
filed (say the Body field)
and then applies some transformation based on this content, to a *different*
filed (say: the Title field)

is this possible ?

Example: I will find certain keywords in the body and then locate them and
transform them in the title



--
View this message in context: 
http://www.nabble.com/Howto--Applying-a-filter-across-schema-fileds-using-state-information-tp23593424p23593424.html
Sent from the Solr - User mailing list archive at Nabble.com.


Reply via email to