# Custom \_all field and per field boosting

**URL:** <https://discuss.elastic.co/t/custom--all-field-and-per-field-boosting/15944>\
**Category:** Elasticsearch\
**Created:** [February 21, 2014, 9:43am UTC](https://discuss.elastic.co/t/custom--all-field-and-per-field-boosting/15944 "2014-02-21T09:43:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pawel\_Mlynarczyk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pawel_mlynarczyk/32/1568_2.png) [@Pawel\_Mlynarczyk](https://discuss.elastic.co/u/Pawel_Mlynarczyk)\
**Post date:** [February 21, 2014, 9:43am UTC](https://discuss.elastic.co/t/custom--all-field-and-per-field-boosting/15944/1 "2014-02-21T09:43:40Z")

</div>

Hello

I was really excited to hear that custom \_all fields are coming to town,  
but the removal of per field boosting messed up my idea.  
All I want to achieve is to create multiple \_all-like fields consisting of  
different fields (each \_all-like field would gather data in different  
language) and to query against them. I also badly need to boost some of the  
fields (e.g. for books, title is far more important then the publisher). Each  
of those fields would gather about 10 different fields. My current solution  
is to store different languages in different indices but that solution  
makes me duplicate a lot of language independant data. As stated in  
[https://github.com/elasticsearch/elasticsearch/pull/4972](https://github.com/elasticsearch/elasticsearch/pull/4972) I tried to use  
multi\_match or even string query with multiple fields but the performance  
of that kind of query is nowhere close to querying the \_all field itself.

Are per field boosting for custom \_all fields planned to be reimplemented?  
Will there be a significant improvement to how cross field multi\_match  
performs?  
Could you think of another approach that could be worth trying?

I'd be grateful for any hints.

Best regards,

Paweł Młynarczyk

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/52067048-8eea-4e96-b285-c05f4a134dc6%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/52067048-8eea-4e96-b285-c05f4a134dc6%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:48am UTC](https://discuss.elastic.co/t/custom--all-field-and-per-field-boosting/15944/2 "2017-07-06T01:48:27Z")

</div>


