Hello, It might be expensive/slow, but you could write a custom UpdateRequestProcessor, "manually" run a field through the analyzer and then add/delete other fields right there, in the URP.
Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: Kir4 <silv...@gmail.com> > To: solr-user@lucene.apache.org > Sent: Sunday, June 7, 2009 8:18:43 PM > Subject: Re: creating new fields at index time - is it possible? > > > Now that I plan on adding new fields based on the data already present, it > would be best to read the existing field after it has been processed > (cleaned up) by the other analyzers. > I was therefore planning on creating a custom analyzer that is started after > the other default ones have been run; said analyzer would read the field and > add new ones based on several rules and some data. > > I have been told that UpdateRequestProcessor probably cannot be invoked from > an analyzer. > Is there any way for an analyzer to add new fields? > It would be enough to just populate them: I could add empty fields to the > original document, and define for them analyzers that read the data of other > fields previously analyzed and populate the empty field. > > Thanks to anyone that may have answers to my questions. =) > Best regards, > G. > > > > Noble Paul നോബിള് नोब्ळ्-2 wrote: > > > > > > If you wish to plugin your code try this > > http://wiki.apache.org/solr/UpdateRequestProcessor > > > > > > -- > View this message in context: > http://www.nabble.com/creating-new-fields-at-index-time---is-it-possible--tp23741267p23916728.html > Sent from the Solr - User mailing list archive at Nabble.com.