patterns. A pain, I know.
-Original Message-
From: Dirk Buchhorn [mailto:dirk.buchh...@finkundpartner.de]
Sent: Thursday, June 18, 2015 3:31 AM
To: solr-user@lucene.apache.org
Subject: Extended Dismax Query Parser with AND as default operator
Hello,
I have a question to the extended dismax
Hello,
I have a question to the extended dismax query parser. If the default operator
is changed to AND (q.op=AND) then the search results seems to be incorrect. I
will explain it on some examples. For this test I use solr v5.1 and the tika
core from the example directory.
== Preparation
.
For the question, please refer to the following example url:
http://10.90.44.33/solr/searcher/select?start=0rows=24fl=id,headline,slugq=slug:variety-entertainment%20headline:entertainmentsort=score%20ascdebug=true
With our default operator(q.op) is configured as OR, the parsed query
://10.90.44.33/solr/searcher/select?start=0rows=24fl=id,headline,slugq=slug:variety-entertainment%20headline:entertainmentsort=score%20ascdebug=true
With our default operator(q.op) is configured as OR, the parsed
query is:
slug:variety slug:entertainment headline:entertainment
url:
http://10.90.44.33/solr/searcher/select?start=0rows=24fl=id,headline,slugq=slug:variety-entertainment%20headline:entertainmentsort=score%20ascdebug=true
With our default operator(q.op) is configured as OR, the parsed
query is:
slug:variety slug:entertainment
://lucene.472066.n3.nabble.com/How-to-change-default-operator-in-velocity-tp3430871p3430871.html
Sent from the Solr - User mailing list archive at Nabble.com.
the velocity template engine default operators?
--
View this message in context:
http://lucene.472066.n3.nabble.com/How-to-change-default-operator-in-velocity-tp3430871p3430871.html
Sent from the Solr - User mailing list archive at Nabble.com.
://lucene.472066.n3.nabble.com/How-to-change-default-operator-in-velocity-tp3430871p3430871.html
Sent from the Solr - User mailing list archive at Nabble.com.
___
If you reply to this email, your message will be added to the discussion
below:
http
-default-operator-in-velocity-tp3430871p3430871.html
Sent from the Solr - User mailing list archive at Nabble.com.
___
If you reply to this email, your message will be added to the discussion
below:
http://lucene.472066.n3.nabble.com/How-to-change
the velocity template engine default operators?
--
View this message in context:
http://lucene.472066.n3.nabble.com/How-to-change-default-operator-in-velocity-tp3430871p3430871.html
Sent from the Solr - User mailing list archive at Nabble.com
Thank you both for your input. I ended up using Ahmet's way because it seems
to fit better with the rest of the application.
On Sat, Mar 26, 2011 at 6:02 AM, lboutros boutr...@gmail.com wrote:
The other way could be to extend the SolrQueryParser to read a per field
default operator in the solr
--- On Fri, 3/25/11, Brian Lamb brian.l...@journalexperts.com wrote:
From: Brian Lamb brian.l...@journalexperts.com
Subject: Default operator
To: solr-user@lucene.apache.org
Date: Friday, March 25, 2011, 10:54 PM
Hi all,
I know that I can change the default operator in two ways:
1
The other way could be to extend the SolrQueryParser to read a per field
default operator in the solr config file. Then it should be possible to
override this functions :
setDefaultOperator
getDefaultOperator
and this two which are using the default operator :
getFieldQuery
addClause
The you
Hi all,
I know that I can change the default operator in two ways:
1) *solrQueryParser defaultOperator*=AND|OR/
2) Add q.op=AND
I'm wondering if it is possible to change the default operator for a
specific field only? For example, if I use the URL:
http://localhost:8983/solr/search/?q
on research interests:
http://gradschoolnow.com
On 6/17/10 4:19 PM, Chris Hostetter wrote:
: I'm using the dismax request handler and want to set the default
operator to
: AND.
: Using the standard handler, i could just use the q.op or
defaultOperator in
: the schema
I'm using the dismax request handler and want to set the default
operator to AND.
Using the standard handler, i could just use the q.op or defaultOperator
in the schema, but this doesn't work using the dismax request handler.
For example, if I call solr/select/?q=fuel+cell, I want solr
: I'm using the dismax request handler and want to set the default operator to
: AND.
: Using the standard handler, i could just use the q.op or defaultOperator in
: the schema, but this doesn't work using the dismax request handler.
:
: For example, if I call solr/select/?q=fuel+cell, I want
and want to set the default
operator to
: AND.
: Using the standard handler, i could just use the q.op or
defaultOperator in
: the schema, but this doesn't work using the dismax request handler.
:
: For example, if I call solr/select/?q=fuel+cell, I want solr to
handle it as
: a solr/select
the AND for every
query.
@tommychheng
Programmer and UC Irvine Graduate Student
Find a great grad school based on research interests: http://gradschoolnow.com
On 6/17/10 4:19 PM, Chris Hostetter wrote:
: I'm using the dismax request handler and want to set the
default operator
Has anyone implemented a Dismax type solution that also uses a default
operator (or q.op)? I'd like to be able to use OR operators for all the
qf fields but have read that qf=dismax does not support operators.
Has anyone implemented a Dismax type
solution that also uses a default
operator (or q.op)?
Dismax ignores default operator.
I'd like to be able to use OR
operators for all the
qf fields but have read that qf=dismax does not support
operators.
Dismax has a mm [1] (Minimum 'Should' Match
: My problem was that somewhere along the way I picked up the mis-understanding
: that I could do a phrase search like Text:david pdf and Solr/lucene would
pick up
: all documents that hit the field Text with either 'david' or 'pdf'. Now, I'm
just doing the
you were probably thinking of
I'm having a problem with doing a phrase search of david pdf.
When I search for just david, I get 7 hits. When I search for pdf
I get 73 hits. On a legacy system, searching for david pdf I get
78 hits. And on Solr (1.4 - one of the nightly builds) - when searching
for david pdf I get 0 hits. I
OR
toto] (given is is the default operator)
I don't know which other legacy system you also used, but this may be a
complete different query syntax and so quote are not interpreted in the same
way.
HTH
gd
On Wed, Sep 2, 2009 at 22:49, Dan A. Dickey dan.dic...@savvis.net wrote:
I'm having a problem
Is pdf inside the file or part of the file name?
What legacy system? I've helped write a couple of them. Some systems,
like Ultraseek, add parts of the filename as searchable text.
wunder
On Sep 2, 2009, at 1:49 PM, Dan A. Dickey wrote:
I'm having a problem with doing a phrase search of
a
query like [david pdf toto] then it will be interpreted as [david pdf OR
toto] (given is is the default operator)
I don't know which other legacy system you also used, but this may be a
complete different query syntax and so quote are not interpreted in the same
way.
HTH
Yes, it does - thanks
On Wednesday 02 September 2009 16:37:03 Gérard Dupont wrote:
Yes, it does - thanks!
Back to translating legacy search queries into Solr search queries. :)
-Dan
Just curious : what legacy system is it ?
Sorry, but at the moment - I don't think I'm at liberty to say.
My
Yes, it does - thanks!
Back to translating legacy search queries into Solr search queries. :)
-Dan
Just curious : what legacy system is it ?
: Subject: Can I specify the default operator at query time ?
: In-Reply-To: [EMAIL PROTECTED]
http://people.apache.org/~hossman/#threadhijack
Thread Hijacking on Mailing Lists
When starting a new discussion on a mailing list, please do not reply to
an existing message, instead start a fresh
only for StandardRequestHandler. Any way of
doing it in DisMaxRequestHandler ?
Nikhil
- Original Message
From: Erik Hatcher [EMAIL PROTECTED]
To: solr-user@lucene.apache.org
Sent: Monday, 23 June, 2008 3:24:13 PM
Subject: Re: Can I specify the default operator at query time
30 matches
Mail list logo