Hey All,
I want to make something roughly equivalent to Solr's copy fields. However, I
can't just concatenate the values into one string then put that into a field,
because each field needs its appropriate analyzer.
I know you can instantiate a field with a token stream as an input, but I'm not
sure how to combine multiple token streams into one. I tried to make a wrapper
class to do this, but I can't figure out how since with the attribute API I
can't switch the attributes they already had onto a new stream.
I checked Solr's source, and as far as I could tell it doesn't seem like they
allow each input field to be tokenized in its own way (though I could
definitely be misreading it).
Does anyone know if this is possible?
Thanks,
-Ben