Navigation Menu

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

Allow omit_norms for _all field #3734

Closed
mattweber opened this issue Sep 19, 2013 · 7 comments
Closed

Allow omit_norms for _all field #3734

mattweber opened this issue Sep 19, 2013 · 7 comments

Comments

@mattweber
Copy link
Contributor

Please add support for settings omit_norms on the _all field.

@rmihael
Copy link

rmihael commented Dec 30, 2013

Hi. Are there any plans on this issue? It really hurts to not have norms control over _all.

@serj-p
Copy link

serj-p commented Dec 30, 2013

Can't make human scoring by _all field without this option

@s1monw
Copy link
Contributor

s1monw commented Dec 30, 2013

maybe I miss something but what exactly is not working here?

@mattweber
Copy link
Contributor Author

In the all field mapping, it would be great if it supported most of the same options as a string field. Specifically, I ran into a situation at one point where a client needed to disable norms on their all field. This was solved by basically creating a custom all field using multi-fields.

I imagine not supporting this has something to do with respecting the per-field boosts but I'm not sure.

@s1monw
Copy link
Contributor

s1monw commented Dec 30, 2013

ah I see what the problem is - I guess we should allow it though! not a big deal I will add a PR in the next days.

@ghost ghost assigned s1monw Dec 30, 2013
s1monw added a commit to s1monw/elasticsearch that referenced this issue Dec 30, 2013
The '_all' field doesn't allow to omit norms. In certain scenarios
omitting the norm values makes a lot of sense to get senseable scoring.

Closes elastic#3734
s1monw added a commit that referenced this issue Jan 2, 2014
The '_all' field doesn't allow to omit norms. In certain scenarios
omitting the norm values makes a lot of sense to get senseable scoring.

Closes #3734
@s1monw s1monw closed this as completed in c78f517 Jan 2, 2014
@s1monw
Copy link
Contributor

s1monw commented Jan 2, 2014

@mattweber it's in!

@mattweber
Copy link
Contributor Author

Sweet! Thanks @s1monw! I'll check it out early next week.

brusic pushed a commit to brusic/elasticsearch that referenced this issue Jan 19, 2014
The '_all' field doesn't allow to omit norms. In certain scenarios
omitting the norm values makes a lot of sense to get senseable scoring.

Closes elastic#3734
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
The '_all' field doesn't allow to omit norms. In certain scenarios
omitting the norm values makes a lot of sense to get senseable scoring.

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

Successfully merging a pull request may close this issue.

4 participants