Questions tagged [edismax]

Extended DisMax is an improved version of the solr DisMax, a popular query mode with Apache Solr

The Extended DisMax Parser is a new and more advanced DisMax parser introduced in the Apache Solr 3.1 release as experimental.

It improves punctuation handling and relevancy calculations, boolean operators among other things. See JIRA SOLR-1553 for more details.

146 questions
1
vote
2 answers

When to use Local Params in solr

I'm struggling to wrap my brain around local params in solr. When would you actually use them to do things like q.op? How is ?q={!q.op=OR}solr rocks different from ?q=solr rocks&q.op=OR and when would it be useful. The main thing I can think is if…
horriblyUnpythonic
  • 853
  • 2
  • 14
  • 34
1
vote
2 answers

Solr query behaviour

I have a Solr installation that contains recipes. Each recipe has multiple ingredients and I'm currently building a recipe search that you can type 'includes/excludes' and then I have a homebrew weight system that comes in after this. The query…
bluedaniel
  • 2,079
  • 5
  • 31
  • 49
1
vote
0 answers

EDISMAX - 0 weight for QF field

I came across an example EDISMAX query with 0 weight assigned to a field in qf. Example: Fields in index: title, body, keywords qf = title^100 body^0 keywords I understand providing no boost indicates default boost of 1. I however do not…
Sreejith Menon
  • 1,057
  • 1
  • 18
  • 27
1
vote
0 answers

Solr edismax not using Logical Operators AND/OR

Just got an issue where our solr 6.6 doesn't seem to be using logical operators (AND,OR,NOT) as operators but is actually search for the words. So results that should only have a few hundred hits now have thousands. We are using the edismax parser.…
wagswvu
  • 11
  • 1
1
vote
0 answers

Solr eDismax Lucene query issue

I'm working with a system that uses the eDismax query parser, which I believe has support for Lucene syntax, but I'm having an issue getting queries to work without Solr searching for "AND" and "OR" as literal keys used in the search criteria. I can…
Seth
  • 11
  • 1
1
vote
2 answers

SOLR eDismax typo tolerance for phrases

How is possible to build the query which will search for exact phrases as well as phrases with some typos? I'm stuck on this and looks like I'm moving in wrong direction. For example, I have next field in my edismax query: q=apple iphone It works,…
Aronsky
  • 13
  • 1
  • 6
1
vote
2 answers

Solr Dismax and Edismax request gives different results for the same query

There is query that contains optional("should" clauses) mandatory and prohibited tokens. The following two queries returns different results. But should be same, not? +_query_:"{!type=**dismax** mm='2<2 3<3 5<4 7<51%' qf='normalizedField'} opt1 opt2…
r.r
  • 245
  • 4
  • 15
1
vote
0 answers

Solr edismax parser and multiple fields search

I use the edismax query parser to handle user queries against our Solr 4.10.3 server. I configured the q.op parameter to AND and completely disabled the mm parameter in order to hit only 100% matches. When users search for multiple terms in a single…
1
vote
2 answers

Solr - mm paramter of dismax parser

I am using Solr 5.2.1, in one of my project, and got some doubt on mm paramter of dismax / edismax parser. Questions: Does mm regardless of total input term count? Document says yes, but when I set it to 3, and input a single term, it still could…
Eric
  • 22,183
  • 20
  • 145
  • 196
1
vote
2 answers

Solr Queries: Single Terms versus Phrases

In our search based on Solr, we have started by using phrases. For example, when the user types blue dress then the Solr query will be title:"blue dress" OR description:"blue dress" We now want to remove stop words. Using the default…
Eric
  • 362
  • 1
  • 10
1
vote
1 answer

eDismax queries with stopwords and language specific fields

I have 3 text fields: content_en content_sp content_fr Each of the above fields has it's own set of analyzers, tokenizers and filters. They also have their own set of stopwords. I use the LangIdentifierProcessor…
1
vote
2 answers

How does Solr process the query string when using edismax qf parameter and specify field in query

All: [UPDATE] After reading the debug explain, it seems that the qf will expand only the keywords without specifying field. =================================================================== When I learn to use edismax query parser, it said…
Kuan
  • 11,149
  • 23
  • 93
  • 201
1
vote
1 answer

Confuse about the tie and qf in edismax

I am confused about the qf and tie parameters in eDisMax According to the document: The qf is used to specify which field to search, while tie is use to specify all other field(except the highest score field)'s affect to the total score. My…
Kuan
  • 11,149
  • 23
  • 93
  • 201
1
vote
1 answer

Reverse Solr Range Query

I am doing some data analysis with SOLR and I am stuck on one part that can potentially provide some great value to me. I have a solr collection that has a number of numeric fields that are ranges, for example: pr_high_max = 10.35 pr_high_min =…
nick_v1
  • 1,654
  • 1
  • 18
  • 29
1
vote
1 answer

Solr boosting results by number of values in a multi-valued field

Is there a way to boost documents by the number of values in a particular multi-valued field - at query time? i.e. More the number of values, more the boost. Is there something like bf="count(pets)^5.0" - where pets is a multivalued field? I am…
techfoobar
  • 65,616
  • 14
  • 114
  • 135