Hi Ivan
Can you share response from debug query.
Here is what I got:
{
"responseHeader":{
"status":0,
"QTime":8,
"params":{
"q":"{!complexphrase df=content}\"leonardo -da -Vinci\"",
"indent":"on",
"fl":"content",
"wt":"json",
"debugQuery":"on"}},
Hi Emir,
i'm testing these on the examples that comes with solr (techproducts), i
just added some docs to that.
Both those queries give the expected results.
I'm testing on a TextField (indexed, tokenized, stored).
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Hi Ivan,
Can you share config for that field. It seems to me that it might be caused by
your analysis chain. Does queries “Leonardo 1” or “bla Leonardo” result in
matches?
Emir
--
Monitoring - Log Management - Alerting - Anomaly Detection
Solr & Elasticsearch Consulting Support Training -
That still does not work for me.
I'm not getting results for "Leonardo da vinci bla bla Leonardo" or
"Leonardo 1 da vinci bla bla Leonardo".
Tried on both solr 6.4.1 and solr 7.2.1
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
I'm using solr 6.4.1, i will try your updated version and let you know,
thanks!
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Nice. Thank you!
-Original Message-
From: Emir Arnautović [mailto:emir.arnauto...@sematext.com]
Sent: Thursday, February 15, 2018 2:19 PM
To: solr-user@lucene.apache.org
Subject: Re: Solr search word NOT followed by another word
Hi,
I did not provide the right query. If you query
0, 0)
>
>
>
>
>
>
>
> -Original Message-
> From: Emir Arnautović [mailto:emir.arnauto...@sematext.com]
> Sent: Tuesday, February 13, 2018 11:23 AM
> To: solr-user@lucene.apache.org
> Subject: Re: Solr search word NOT followed by another wor
Or you can fork: https://github.com/tballison/lucene-addons/tree/7.2-0.1
-Original Message-
From: ivan [mailto:i...@presstoday.com]
Sent: Wednesday, February 14, 2018 6:42 AM
To: solr-user@lucene.apache.org
Subject: RE: Solr search word NOT followed by another word
Hi Timothy,
i'm trying
") after the rewrite:
spanNot(name:leonardo, spanNear([name:leonardo, spanOr([name:da, name:vinci])],
0, true), 0, 0)
-Original Message-
From: Emir Arnautović [mailto:emir.arnauto...@sematext.com]
Sent: Tuesday, February 13, 2018 11:23 AM
To: solr-user@lucene.apache.org
Subject:
PM
To: solr-user <solr-user@lucene.apache.org>
Subject: Re: Solr search word NOT followed by another word
Tim:
How up to date is the Solr-5410 patch/zip in JIRA ?. Looking to use the Span
Query parser in 6.5.1, migrating to 7.x sometime soon.
Would love to see these committed !
-Simon
Hi Timothy,
i'm trying to use your Parser, but i'm having some trouble with the versions
of solr\lucene.
I'm trying to use version 6.4.1 but i'm facing a lot of incompatibilities
with version 5. Is there any updated version of the plugin?
--
Sent from:
I'm working on 6.4.1 (but i tried on 7.2.1 too) and i'm not getting results
for the case i've shown before.
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Hi Ivan,
Which version of Solr do you use? I’ve just tried it on 6.5.1 and it returned
expected.
Emir
--
Monitoring - Log Management - Alerting - Anomaly Detection
Solr & Elasticsearch Consulting Support Training - http://sematext.com/
> On 13 Feb 2018, at 16:08, ivan
Hi Emir,
unfortunately that does not work, since i'm not getting a match for my third
example ("Leonardo is the name of Leonardo da Vinci") because i have both
"Leonardo" and "Leonardo da Vinci" in the same field. I'm fine with having
"Leonardo da Vinci" as long as i have another "Leonardo" (NOT
Hi Ivan,
You might be able to use complexphrase query parser to get what you need, you
can test something like this:
{!complexphrase df=my_field}”Leonardo -(da Vinci)”
This should return any Leonardo that is not followed by da Vinci.
HTH,
Emir
--
Monitoring - Log Management - Alerting -
That looks great!
Not sure how to install that into my version of Solr though (using 6.4.1)
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Tim:
How up to date is the Solr-5410 patch/zip in JIRA ?. Looking to use the
Span Query parser in 6.5.1, migrating to 7.x sometime soon.
Would love to see these committed !
-Simon
On Mon, Feb 12, 2018 at 10:41 AM, Allison, Timothy B.
wrote:
> That requires a
That requires a SpanNotQuery. AFAIK, there is no way to do this with the
current parsers included in Solr.
My SpanQueryParser does cover this, and I'm hoping to port it to 7.x today or
tomorrow.
Syntax would be "Leonardo [da vinci]"!~0,1
https://issues.apache.org/jira/browse/LUCENE-5205
18 matches
Mail list logo