Have a look at the TeeTokenFilter and the SinkTokenizer. You could
extend/implement those to have a lookup in your list, and then when
you have a match, add the token to the Sink, which then allows you to
index a separate field containing your named entities. The TeeTF and
SinkTok are loc
I want to index document conents in two ways, one just a simple
content, and the other as named entity.
the senario is like this.
if i have this document "the source of Nile is Ethiopia"
then I want to index "source" as a normal content, "Nile" as river
name, and "Ethiopia" as Country name. so that