Hi Alessandro, My mistake, I thought for a second there that the elevation component needed to actually searches through documents, which isn't the case.
Thanks, Ryan On Wed, 27 Jul 2016 at 19:15 Alessandro Benedetti <abenede...@apache.org> wrote: > Hi Ryan, > can you explain this ? > " I'd like the search request to search multiple > fields, but only elevate if the query is found in one of the fields." > > You mean, that you want to apply the elevation component only if the user > selected a particular field in the query ? > If i remember well, you have the possibility of associate a list of > documents to each query you prefer in the elevation file. > > But maybe I misunderstood your question, are you actually thinking to boost > the results only if they have a certain match in a particular field ? > Because maybe you are looking for the classic edismax with different field > boosting instead than the query elevation component. > Let us know and we can help you better! > > Cheers > > On Wed, Jul 27, 2016 at 4:49 AM, Ryan Yacyshyn <ryan.yacys...@gmail.com> > wrote: > > > Hi everyone, > > > > I'm reading the docs on the query elevation component and some questions > > came up: > > > > Can I specify a field that the elevate component will look at, such as > only > > looking at the title field? My search handler (using eDisMax) is > searching > > across multiple fields, but if I only want the elevate component to look > at > > one field, is this possible? I'd like the search request to search > multiple > > fields, but only elevate if the query is found in one of the fields. > > > > Also, is there a recommended way to analyze the query? For example, when > > using the queryFieldType parameter, I'd think I'd only want to use the > > KeywordTokenizer and maybe lowercasing. > > > > Thanks, > > Ryan > > > > > > -- > -------------------------- > > Benedetti Alessandro > Visiting card : http://about.me/alessandro_benedetti > > "Tyger, tyger burning bright > In the forests of the night, > What immortal hand or eye > Could frame thy fearful symmetry?" > > William Blake - Songs of Experience -1794 England >