Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support includes_fields #119

Closed
thnt opened this issue Aug 27, 2013 · 6 comments
Closed

support includes_fields #119

thnt opened this issue Aug 27, 2013 · 6 comments

Comments

@thnt
Copy link

thnt commented Aug 27, 2013

Please support include_fields option to index only some fields.

@richardwilly98
Copy link
Owner

@thik,

There are few options already available:

  • exclude_fields from more details see [1]
  • script filters from more details see [2]

Does it help?

[1] - https://github.com/richardwilly98/elasticsearch-river-mongodb/wiki#configuration
[2] - https://github.com/richardwilly98/elasticsearch-river-mongodb/wiki#script-filters

@thnt
Copy link
Author

thnt commented Aug 28, 2013

I read about exclude_fields but it not convenient to index 1 or 2 fields only. Moreover, mongodb is freeschema, when insert document include new field, it auto be indexed.
I will read more about script filters.

@richardwilly98
Copy link
Owner

@thik let me know if script filters help.

@thnt
Copy link
Author

thnt commented Aug 30, 2013

It seems script filters not help. I can delete some fields, but can not select specific fields i want to index.

@richardwilly98
Copy link
Owner

I will implement this feature in the next release.

On Friday, August 30, 2013, Thik wrote:

It seems script filters not help. I can delete some fields, but can not
select specific fields i want to index.


Reply to this email directly or view it on GitHubhttps://github.com//issues/119#issuecomment-23548970
.

richardwilly98 added a commit that referenced this issue Sep 10, 2013
- include_fields works the same way as exclude_fields.
- These 2 settings are mutually exclusive (exclude_fields has the
priority).
@richardwilly98
Copy link
Owner

@thik this feature is available in 1.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants