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
umentation.
>>
>> The solr version we used is 4.10.1.
>>
>> For the question, please refer to the following example url:
>>
>>
>> http://10.90.44.33/solr/searcher/select?start=0&rows=24&fl=id,headline,slug&q=slug:variety-entertainm
ollowing example url:
>
>
> http://10.90.44.33/solr/searcher/select?start=0&rows=24&fl=id,headline,slug&q=slug:variety-entertainment%20headline:entertainment&sort=score%20asc&debug=true
>
>
> With our default operator(q.op) is configured as "OR", th
r the question, please refer to the following example url:
http://10.90.44.33/solr/searcher/select?start=0&rows=24&fl=id,headline,slug&q=slug:variety-entertainment%20headline:entertainment&sort=score%20asc&debug=true
With our default operator(q.op) is configured
ww.solrtraining.com
>>>
>>> On 18. okt. 2011, at 12:36, hadi wrote:
>>>
>>>> in solr schema the defaultOperator value is OR but when i use
>>>> browse(http://localhost:8983/solr/browse)for searching AND is a
>>>> defaultOp
,and that config in solr is not affect on velocity how can
>>> i
>>> change the velocity template engine default operators?
>>>
>>>
>>> --
>>> View this message in context:
>>> http://lucene.472066.n3.nabble.com/How-to-change-def
> i
>> 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 arc
velocity how can i
> 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.
://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 wrote:
> The other way could be to extend the SolrQueryParser to read a per field
> default operator in the solr
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
--- On Fri, 3/25/11, Brian Lamb wrote:
> From: Brian Lamb
> 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) <*solrQueryParser d
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://localhos
dquery":"+(+DisjunctionMaxQuery((text:fuel |
>>>> organization_name_ws_lc:fuel^5.0)) +DisjunctionMaxQuery((text:cell |
>>>> organization_name_ws_lc:cell^5.0))) ()",
>>>> "parsedquery_toString":"+(+(text:fuel | organization_name_ws_
@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 to
: AND.
: Using the standard ha
:cell |
organization_name_ws_lc:cell^5.0)) ()",
returns ~80 results
(this is the behavior i want for query "fuel cell" because it adds
the extra +). I want to do this without adding the AND for every query.
@tommychheng
Programmer and UC Irvine Graduate Student
Find a great
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 to
: AND.
: Using the standard handler, i could just use the q.op or
+). I want to do this without adding 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 wa
: 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=fue
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&q
> 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
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.
: 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 this.
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
>
> Yes, it does - thanks!
> Back to translating legacy search queries into Solr search queries. :)
> -Dan
>
Just curious : what legacy system is it ?
the
> defaultOperator have nothing to do with this. It only occur if you do 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
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
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
gd
On Wed, Sep 2, 2
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
: 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
8 5:15:41 PM
Subject: Re: Can I specify the default operator at query time ?
dismax is a different sort of parser, where AND/OR doesn't really make
sense exactly. The mm (minimum match) parameter for dismax can be
used to set things to be fully OR (mm=0) or fully AND (mm=100%)
Erik
works 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
I think this works 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 opera
Thanks !!!
it'll save me great time !
> From: [EMAIL PROTECTED]
> To: solr-user@lucene.apache.org
> Subject: Re: Can I specify the default operator at query time ?
> Date: Mon, 23 Jun 2008 05:54:13 -0400
>
>
> On Jun 23, 2008, at 5:42 AM, Pierre-Yves LANDRON wr
On Jun 23, 2008, at 5:42 AM, Pierre-Yves LANDRON wrote:
Is there a way to transgress the default operator defined in
solrConfig for a particular query, and for this query only (a query-
specific option) ?
Yes, you can specify the q.op=AND or q.op=OR per Solr request.
Erik
Hello,
Is there a way to transgress the default operator defined in solrConfig for a
particular query, and for this query only (a query-specific option) ?
Thanks,
P-Y Landron
_
Discover the new Windows Vista
http://search.msn.com
37 matches
Mail list logo