lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Fehling <bernd.fehl...@uni-bielefeld.de>
Subject questions about xxxGraphFilter
Date Mon, 27 Feb 2017 12:08:48 GMT
Now we have a SynonymGraphFilter but also need other filters
to be graph-aware. I was already thinking about a ShingleGraphFilter.
But if a ShingleGraphFilter outputs a graph and is located before
SynonymGraphFilter where is the advantage?
The SynonymGraphFilter cannot consume arbitrary graphs.

Do we need as first step a util method for reading an inputTokenStream
and give back a graph?
It can be called by any xxxGraphFilter as first step.

Is this a stupid idea?

How about the resulting outputTokenStream, does it make sense to
have a util method producing an outputTokenStream from a graph?

It would generalize the input/output handling of any xxxGraphFilter
and only leave the filter work to the GraphFilter.

What do you think?

Regards
Bernd

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message