I'm storing user data in an application I'm writing in couchdb. I'd like to
make the user data searchable using ES, but I don't want to include certain
fields in the data that gets indexed in ES (password, reset password token,
etc). I'm contemplating using the river plugin, but not sure if it's
possible to exclude fields from documents before they are indexed? The
filter section seems to just filter whole documents from being indexed if I
understand it correctly.
I'm storing user data in an application I'm writing in couchdb. I'd
like to make the user data searchable using ES, but I don't want to
include certain fields in the data that gets indexed in ES
(password, reset password token, etc). I'm contemplating using the
river plugin, but not sure if it's possible to exclude fields from
documents before they are indexed? The filter section seems to just
filter whole documents from being indexed if I understand it
correctly.
Have a look at the script filter option in the docs. You can fix up
the doc however you want before it's passed on.
I'm storing user data in an application I'm writing in couchdb. I'd
like to make the user data searchable using ES, but I don't want to
include certain fields in the data that gets indexed in ES
(password, reset password token, etc). I'm contemplating using the
river plugin, but not sure if it's possible to exclude fields from
documents before they are indexed? The filter section seems to just
filter whole documents from being indexed if I understand it
correctly.
Have a look at the script filter option in the docs. You can fix up
the doc however you want before it's passed on.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.