Re: eDismax query syntax question

2020-06-16 Thread Shawn Heisey
On 6/15/2020 8:01 AM, Webster Homer wrote: Only the minus following the parenthesis is treated as a NOT. Are parentheses special? They're not mentioned in the eDismax documentation. Yes, parentheses are special to edismax. They are used just like in math equations, to group and separate thing

Re: eDismax query syntax question

2020-06-15 Thread Mikhail Khludnev
max > documentation. > > -Original Message----- > From: Markus Jelsma > Sent: Saturday, June 13, 2020 4:57 AM > To: solr-user@lucene.apache.org > Subject: RE: eDismax query syntax question > > Hello, > > These are special characters, if you don't ne

Re: eDismax query syntax question

2020-06-15 Thread Andrea Gazzarini
tation. > > -Original Message- > From: Markus Jelsma > Sent: Saturday, June 13, 2020 4:57 AM > To: solr-user@lucene.apache.org > Subject: RE: eDismax query syntax question > > Hello, > > These are special characters, if you don't need th

RE: eDismax query syntax question

2020-06-15 Thread Webster Homer
-- From: Markus Jelsma Sent: Saturday, June 13, 2020 4:57 AM To: solr-user@lucene.apache.org Subject: RE: eDismax query syntax question Hello, These are special characters, if you don't need them, you must escape them. See top of the article: https://lucene.apache.org/solr/guide/8_5/the

RE: eDismax query syntax question

2020-06-13 Thread Markus Jelsma
> To: solr-user@lucene.apache.org > Subject: eDismax query syntax question > > Recently we found strange behavior in a query. We use eDismax as the query > parser. > > This is the query term: > 1,3-DIMETHYL-5-(3-PHENYL-ALLYLIDENE)-PYRIMIDINE-2,4,6-TRIONE > > It shou

eDismax query syntax question

2020-06-12 Thread Webster Homer
Recently we found strange behavior in a query. We use eDismax as the query parser. This is the query term: 1,3-DIMETHYL-5-(3-PHENYL-ALLYLIDENE)-PYRIMIDINE-2,4,6-TRIONE It should hit one document in our index. It does not. However, if you use the Dismax query parser it does match the record. Th

Query syntax question

2009-05-15 Thread Vauthrin, Laurent
Hello, I'm having a problem with a query but I don't understand what is wrong with it. Can someone explain the following? Here are a few queries that work as expected (premium is a boolean field): premium:"false"->3004 premium:"true" ->0 -premium:"false" -

Re: Query syntax Question

2007-03-19 Thread Chris Hostetter
: : I have the following Query: : q=field1:tag1 tag2^0.5 OR field2:tag1 : tag2^0.5&version=2.2&start=0&rows=170&indent=on&fl=*,score : : And i want to do : : 1. Return back ONLY documents that contain both tag1 AND tag2 in : field1. when i try using Lucene syntax (+tag1 or +(tag1)) i get an : excep

Query syntax Question

2007-03-17 Thread shai deljo
Hi, I have 2 questions about the syntax of a query for which i didn't find a clear answer in the documents (when i try using Lucene syntax it fails for some reason). I have the following Query: q=field1:tag1 tag2^0.5 OR field2:tag1 tag2^0.5&version=2.2&start=0&rows=170&indent=on&fl=*,score And i