lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roxana Danger <>
Subject Reusable tokenstream
Date Wed, 22 Nov 2017 10:09:49 GMT
Hello all,

I would like to reuse the tokenstream generated for one field, to create a
new tokenstream (adding a few filters to the available tokenstream), for
another field without the need of executing again the whole analysis.

The particular application is:
- I have field *tokens* that uses an analyzer that generate the tokens (and
maintains the token type attributes)
- I would like to have another two new fields: *verbs* and *adjectives*.
These should reuse the tokenstream generated for the field *tokens* and
filter the verbs and adjectives for the respective fields.

Is this feasible? How should it be implemented?

Many thanks.

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