Have you tried to look at Payloads ? Saar
On Sun, Sep 4, 2011 at 10:45 AM, Lior Barnea <bar...@3i-mind.com> wrote: > Hi all, > > I want to add user created tokens to a text field at index time, I want to > pass some metadata to a custom filter I wrote that adds tokens to the > tokenstream. > > I tried to add the metadata to the text and strip it with a custom > tokenizer but I didn't find a good way to pass it to my filter (which has to > run last, cause I don't want and other filters working on my custom tokens). > > (Working with Lucene 3.0.3 / Solr 3.3.0) > > Any ideas ? > > Best regards, > Lior Barnea, > 3i-MIND. >