Use the field in a filter and not part of the query. Is this field free text?
Ivan On Dec 23, 2014 9:12 PM, "Roger de Cordova Farias" < roger.far...@fontec.inf.br> wrote: > Hello > > Our documents have metadata indexed with them, but we don't want the > metadata to interfere in the scoring > > After a user searches for documents, they can bookmark them (what means we > add more metadata to the document), then in the next search with the same > query the bookmarked document appears in a lower (worse) position > > Is there a way to completely ignore one or more specific fields in the > scoring of every query? as in indexing time or something? > > Note that we are not using the metadata field in the query, but yet it > lowers the score of every query > > We cannot set the "index" attribute of this field to "no" because we are > gonna use it in other queries > > -- > 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CAJp2533Rjjec4SwXe_p-0eHYkkyEegFyP9DUMGQfHhua8ZyMWQ%40mail.gmail.com > <https://groups.google.com/d/msgid/elasticsearch/CAJp2533Rjjec4SwXe_p-0eHYkkyEegFyP9DUMGQfHhua8ZyMWQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAKsYquQJMbfztJ%2Ba2_jpi-fVG%3DvcnXYHS-7bKvaOX4hA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.