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
0
votes
2 answers

Solr: exclude only-number matches

I search for game "Mass Effect 2" http://localhost:8085/solr/select/?defType=edismax&qf=title&q=Mass+Effect+2&mm=1 Besides of "Mass Effect 2" and "The Showdown Effect" it finds things like "Borderlands 2", "Prototype 2" and other games having "2"…
Ivan Virabyan
  • 1,666
  • 2
  • 19
  • 25
0
votes
1 answer

Solr Minimum Match: ArrayIndexOutOfBoundsException

I have the following request handler which searches two text_en fields, Title and Body. The query works find without the minimum match setting. If I use the mm field, and if my search string is above 2 terms, I get:…
Kevin
  • 4,070
  • 4
  • 45
  • 67
0
votes
2 answers

Custom search query : edismax(user_entered_search_keywords) AND (condition A OR condition B)

My edismax is running perfect and it handles the query formation internally when i just pass the search keywords to dismax. The next step of my implementation is a custom query where let dismax do all the mumbo jumbo on those search keywords, but…
Vikas Singh
  • 1,781
  • 7
  • 27
  • 54
0
votes
1 answer

Solr Edismax query wrongly produces result

I have 2 types of solr query.One uses EDisMax parser and other one uses standard query parser as default.Following are the 2 query I have used.Purpose of the query is document that doesn't contains following word ELM,PST,June. EDisMax Query q=…
gangatharan
  • 781
  • 1
  • 12
  • 28
0
votes
1 answer

Solr - Exact and Stem search on same text with highlights

I am trying to perform exact and stemmed searches on text and get back "compiled" results. Currently what I have: There is text being stored in the stem field and it's copied into the quoted field. Stem queries and exact queries work on their…
Cloud
  • 25
  • 4
0
votes
1 answer

Solr 3.1 to 3.6 upgrade syntax changes

Tried to upgrade and application from Solr 3.1 to 3.6.1 and stumbled upon the following issue: The query like the one shown below worked in 3.1 but does not return any results in 3.6.1: q=id:911 AND (format:text OR format:null) defType is set to…
AGS
  • 325
  • 3
  • 9
0
votes
1 answer

Solr search with hyphen and camel case not returning expected results

I have a solr search application which is failing in a specific case where the field value is both camelcased and hyphenated. Individually these cases work fine although together there is no match despite the field analysis page within solr matching…
Matt
  • 41
  • 5
0
votes
1 answer

Can a Solr Request Handler modify the query string?

I'm trying to improve an existing solr search which uses the StandardRequestHandler. I'd like to switch to a dismax-based handler, however I'll need to remove the fieldname from the "fieldname:value" query. Is it possible to modify the q parameter…
STW
  • 44,917
  • 17
  • 105
  • 161
0
votes
1 answer

Fielded searches with Solr ExtendedDisMax Query Parser

I'm having a problem using the Solr ExtendedDisMax Query Parser with query that contains fielded searches inside not-plain queries. The case is the following. If I send to SOLR an edismax request (defType=edismax) with…
Nicolò Martini
  • 5,182
  • 4
  • 32
  • 38
0
votes
1 answer

Solr autocomplete based on edismax type error

i receive the following error when trying to implement auto-complete based on edismax type. SEVERE: java.lang.IllegalStateException: field "locality_ng" was indexed without position data; cannot run PhraseQuery (term=львів) at…
r.r
  • 245
  • 4
  • 15
-1
votes
1 answer

Solr demote all documents with condition

I want to demote all documents that have inv=0(possible values from 0 to 1000) to the end of the result set. i have got other sorting options like name desc also as part of the query. For example below are my solr documents Doc1 : name=apple ,…
user3085317
  • 29
  • 2
  • 9
1 2 3
9
10