lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lior Barnea <Bar...@3i-mind.com>
Subject Custom tokens creation in Lucene/Solr
Date Sun, 04 Sep 2011 07:51:02 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message