o perform a proximity search using phrases for
> example: "phrase 1" with 10 words of "phrase 2"
>
> SOLR Version: 8.4.1
>
> Query using: "(\"word1 word2\"(\"word3 word4\")"~10
>
> While this returns results seems to be ev
Use Case: Is it possible to perform a proximity search using phrases for
example: "phrase 1" with 10 words of "phrase 2"
SOLR Version: 8.4.1
Query using: "(\"word1 word2\"(\"word3 word4\")"~10
While this returns results seems to be evaluating
Hello Dev Team,
I found some problem in highlighting module. Not all the search terms are
getting highlighted.
Sample query: q={!complexphrase+inOrder=true}"pos1 (pos2 OR pos3)"~30&hl=true
Indexed text: "pos1 pos2 pos3 pos4"
please find attached response xml screen shot from solr.
You can see
I may be wrong here, but the problem may be that the match was on your
terms pos1 and pos2 (you don't need the pos3 term to match, due to the
OR operator) and thus that's what's been highlighted.
There's a hl.q parameter that lets you supply a different query for
highlighting to the one you're
Hello Dev Team,
I found some problem in highlighting module. Not all the search terms are
getting highlighted.
Sample query: q={!complexphrase+inOrder=true}"pos1 (pos2 OR pos3)"~30&hl=true
Indexed text: "pos1 pos2 pos3 pos4"
please find attached response xml screen shot from solr.
You can se
Trying to perform a search with the following structure:
query: "term1 (term2 OR \"multiword phrase term\")"~3
url: solr/collection/select?defType=complexphrase&df=text&q.OP=AND&q="term1
(term2 OR \"multiword phrase term\")"~3
This would hopefully match phrases like
- term1 and term2
- term1 and
Trying to perform a search with the following structure:
query: "term1 (term2 OR \"multiword phrase term\")"~3
url: solr/collection/select?defType=complexphrase&df=text&q.OP=AND&q="term1
(term2 OR \"multiword phrase term\")"~3
This would hopefully match phrases like
- term1 and term2
- term1 and
Hi,
Does Solr spellcheck collator consider proximity between words in
multi-word search phrase?
i.e. instead of returning spell suggestions by considering each individual
word separately, does it consider them in group if the words occur together
often?
E.g. bll gats should return bill gates ins
Hi,
I am working on features and my main document ('type:entity') has child
documents, some of them contain addresses ('type:entityAddress').
My feature definition:
{
"store": "store_myStore",
"name": "scoreAddressCity",
"class": "org.apache.solr.ltr.feature.SolrFeature",
"params":{ "q": "
owing stack overflow link which describes the transpositions
done when one is looking for phrase with slop 4. is there a guide to
understand this?
https://stackoverflow.com/questions/25558195/lucene-proximity-search-for-phrase-with-more-than-two-words
Thanks in advance.
Best Regards,
Abhishek
O
Adding &debug=true to your search requests will give you the parsing details,
so you can see how edismax interprets the query string and parameters to turn
it into the underlying dismax and phrase queries.
Erik
> On Jun 12, 2017, at 3:22 AM, abhi Abhishek wrote:
>
> Hi All,
> How
hi you can refer : http://yonik.com/solr/query-syntax/
--
View this message in context:
http://lucene.472066.n3.nabble.com/Proximity-Search-using-edismax-parser-tp4340115p4340133.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hi All,
How does proximity Query work in SOLR.
Example if i am running a query like below, for the field containing the
text “India registered a historical test match win against the arch rival
Pakistan here in Lords, England on Sunday”
Query: “Test match India Pakistan” ~ 10
What do you mean ? Have you used the implemented plugins already ?
Can you show us the debugged query please ?
Cheers
2015-07-08 16:48 GMT+01:00 dinesh naik :
> Hi Alessandro,
> I have gone through the above suggested links, but i am not able to achieve
> the above expected result.
>
> The issue
Hi Alessandro,
I have gone through the above suggested links, but i am not able to achieve
the above expected result.
The issue here is , my searched text is a part of field 'text' .
I like nokia mobile
searched text: "nokia mobile"~500.
Best Regards,
Dinesh Naik
On Wed, Jul 8, 2015 at 8:36 P
Showing your debug query would clarify the situation, but I assume you got
into a classic multi-word synonym problem[1] .
Hope the documents I pointed out are good for you.
Cheers
[1] http://nolanlawson.com/2012/10/31/better-synonym-handling-in-solr/
[2]
http://lucidworks.com/blog/solution-for-mu
Hi,
We have a synonym file with below content:
1
2
cell phone ,nokia mobile
And we have 3 documents:
doc1:
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
1001
=1.0"
}
]
},
- -
{
-
- "match": true,
- "value": 3.318595,
- "description&qu
6 AM, Zheng Lin Edwin Yeo
wrote:
> Hi,
>
> Does anyone knows how Solr does its scoring with a query that has proximity
> search enabled.
>
> For example, when I issue a query q=Matex~1, the result with the top score
> that came back was actually 'Latex', and with
You explain parameter and it should show you the scores and the calculations
Sent from my Fire
On May 28, 2015, at 10:06 AM, Zheng Lin Edwin Yeo wrote:
Hi,
Does anyone knows how Solr does its scoring with a query that has proximity
search enabled.
For example, when I issue a query q=Matex~1
Hi,
Does anyone knows how Solr does its scoring with a query that has proximity
search enabled.
For example, when I issue a query q=Matex~1, the result with the top score
that came back was actually 'Latex', and with a score of 2.27. This is with
the fact that there are several docum
Thanks All, I shall try out the options and see how the results are.
Thanks & Regards
Vijay
-Original Message-
From: Dmitry Kan [mailto:solrexp...@gmail.com]
Sent: 30 April 2015 18:58
To: solr-user@lucene.apache.org
Subject: Re: Proximity Search
Hi,
If adding PhraseQuery objects
t 10:04 AM, Vijaya Narayana Reddy Bhoomi Reddy <
> vijaya.bhoomire...@whishworks.com> wrote:
>
> > Thanks Rajani.
> >
> > I could get proximity search work for individual words. However, still
> > could not make it work for two phrases, each containing more than a wor
015 at 10:04 AM, Vijaya Narayana Reddy Bhoomi Reddy <
vijaya.bhoomire...@whishworks.com> wrote:
> Thanks Rajani.
>
> I could get proximity search work for individual words. However, still
> could not make it work for two phrases, each containing more than a word.
> Also,
ya Narayana Reddy Bhoomi Reddy [mailto:
> vijaya.bhoomire...@whishworks.com]
> Sent: Thursday, April 30, 2015 1:05 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Proximity Search
>
> Thanks Rajani.
>
> I could get proximity search work for individual words. However, still
lison/lucene-addons
-Original Message-
From: Vijaya Narayana Reddy Bhoomi Reddy
[mailto:vijaya.bhoomire...@whishworks.com]
Sent: Thursday, April 30, 2015 1:05 PM
To: solr-user@lucene.apache.org
Subject: Re: Proximity Search
Thanks Rajani.
I could get proximity search work for individual
Thanks Rajani.
I could get proximity search work for individual words. However, still
could not make it work for two phrases, each containing more than a word.
Also, results seem to be unexpected for proximity queries with wildcards.
Thanks & Regards
Vijay
On 30 April 2015 at 15:19, Ra
Hi Vijaya,
I just quickly tried proximity search with the example set shipped with
solr 5 and it looked like working for me.
Perhaps, what you could is debug the query by enabling debugQuery=true.
Here are the steps that I tried.(Assuming you are on Solr 5. Though this
term proximity
I just tried with simple proximity search like "word1 word2" ~3 and it is
not working. Just wondering whether I have to make any configuration
changes to solrconfig.xml to make proximity search work?
Thanks
Vijay
On 30 April 2015 at 14:32, Vijaya Narayana Reddy Bhoomi Reddy <
vi
Hi,
I have created my index with the default configurations. Now I am trying to
use proximity search. However, I am bit not sure on the results and where
its going wrong.
For example, I want to find two phrases "this is phrase one" and another
phrase "this is the second phrase
er...@gmail.com]
> Sent: Friday, December 05, 2014 2:42 AM
> To: solr
> Subject: Proximity Search with Grouping
>
> Hi All,
>
> Can I use proximity search with grouping like this "A B (C D)"~19 ?
>
> Thanks,
> Emre
>
--
İyi çalışmalar,
Hasan Emre ERKEK
With updated link (sorry!):
https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-ComplexPhraseQueryParser
-Original Message-
From: Emre ERKEK [mailto:h.emre.er...@gmail.com]
Sent: Friday, December 05, 2014 2:42 AM
To: solr
Subject: Proximity Search with Grouping
Y, if you use the ComplexPhraseQueryParser:
http://wiki.apache.org/solr/ComplexPhraseQueryParser .
-Original Message-
From: Emre ERKEK [mailto:h.emre.er...@gmail.com]
Sent: Friday, December 05, 2014 2:42 AM
To: solr
Subject: Proximity Search with Grouping
Hi All,
Can I use
Hi All,
Can I use proximity search with grouping like this "A B (C D)"~19 ?
Thanks,
Emre
age in context:
http://lucene.472066.n3.nabble.com/Proximity-search-with-wildcard-tp4096285p4096354.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hi Sayeed,
you can use fuzzy search. comp engage~0.2.
Regards
harshvardhan ojha
On Fri, Oct 18, 2013 at 10:28 AM, sayeed wrote:
> Hi,
> I am new to solr. Is it possible to do proximity search with solr.
>
> For example
> "comp* engage"~5.
>
>
>
>
> -
Hi,
I am new to solr. Is it possible to do proximity search with solr.
For example
"comp* engage"~5.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Proximity-search-with-wildcard-tp4096285.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hello, I am dealing with an issue of highlighting and so far the other posts
that I've read have not provided a solution.
When using proximity search ("coming soon"~10) I get some documents with no
highlights and some documents highlight these words even when they are not
in a 10
Thanks Markus.
-
Thanks
-K'Rider
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-1-4-Proximity-Search-Where-is-configuration-for-storing-positions-tp4061315p4061325.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hi - they are indexed by default but can be omitted since 3.4:
http://wiki.apache.org/solr/SchemaXml#Common_field_options
-Original message-
> From:KnightRider
> Sent: Tue 07-May-2013 14:41
> To: solr-user@lucene.apache.org
> Subject: Solr 1.4 - Proximity Searc
I have an index built using Solr 1.4 with one field.
I was able to run proximity search (Ex: word1 within5 word2) but no where in
the configuration I see any information about storing/indexing the positions
or offsets of the terms.
My understanding is that we need to store/index termvectors
Should be able to search for the two words within X tokens AND NOT the two
words within X-1 tokens. It might not even be slow.
wunder
On Sep 16, 2012, at 6:41 AM, Erick Erickson wrote:
> There's really nothing that I know of in Solr that does this, all the phrase
> slop stuff is there to expre
quot;Daisy exam"~2 query.
-- Jack Krupansky
-Original Message-
From: Omnia Zayed
Sent: Sunday, September 16, 2012 5:23 AM
To: solr-user@lucene.apache.org
Subject: Solr - Proximity search using exact number of words apart
Hi;
I am working with apache-solr-3.6.0 on windows machine.
There's really nothing that I know of in Solr that does this, all the phrase
slop stuff is there to express the idea "within X tokens" and will
include all the shorter-interval type of documents.
What's the use case here? Perhaps there's another way to approach it?
Best
Erick
On Sun, Sep 16, 201
Hi,
If you are using the dismax/edismax query parser you can maybe give
query slops a try?
http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_search_for_one_term_near_another_term_.28say.2C_.22batman.22_and_.22movie.22.29
On 16 September 2012 10:23, Omnia Zayed wrote:
> Hi;
>
> I am working
Hi;
I am working with apache-solr-3.6.0 on windows machine. I would like to
search for two words with certain number of words apart (No more than this
number). For example: Consider the following phrases, I would like to
search for Daisy & exam with no more than 2 words apart.
Daisy has exam
Dais
d be the phrase: Daisy has an exam. But using
the above criteria, the result was the last 3 phrase.
So any ideas to use an exact number of words apart?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-Proximity-search-using-exact-number-of-words-apart-tp4008099.html
Sent
r 15, 2012 6:27 AM
To: solr-user@lucene.apache.org
Subject: RE: Improving proximity search performance
i have the same problem.and did you got some good idea? wish you can share
it.thanks
在 2012-2-18 上午8:52,"Bryan Loofbourrow" 写道:
Apologies. I meant to type “1.4 TB” and somehow typed “1
must
> be using Sneakernet to run my searches.
>
>
>
> -- Bryan Loofbourrow
>
>
> --
>
> *From:* Bryan Loofbourrow [mailto:bloofbour...@knowledgemosaic.com]
> *Sent:* Thursday, February 16, 2012 7:07 PM
> *To:* 'solr-user@lucene.apache
...@knowledgemosaic.com]
*Sent:* Thursday, February 16, 2012 7:07 PM
*To:* 'solr-user@lucene.apache.org'
*Subject:* Improving proximity search performance
Here’s my use case. I expect to set up a Solr index that is approximately
1.4GB (this is a real number from the proof-of-concept using the
improve my proximity search performance?
Second question: If not, I’m very willing to dive into the code and come up
with a patch that would do this. Can someone with knowledge of the
internals comment on whether this is a plausible strategy for improving
performance, and, if so, give tips about the
Thanks for your reply, I will check this advice
--
View this message in context:
http://lucene.472066.n3.nabble.com/Ordered-proximity-search-tp3477946p3480321.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hi Thomas,
Do you always need the ordered proximity search by default ?
You may want to check SpanNearQuery at "
http://www.lucidimagination.com/blog/2009/07/18/the-spanquery/";.
We are using edismax query parser provided by Solr.
I had a similar type of requirement in our project in h
query:
"term1 term2"~Integer.MAX_VALUE
my results is: 2 documents
How can I query to have one result (only if term1 come before term2):
"By ordered I mean term1 will always come before term2 in the document"
Thanks
--
View this message in context:
http://lucene.472066.n3.nabble.com/Or
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Order-of-words-in-proximity-search-tp2938427p2946764.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
--
Mvh
Tor Henning Ueland
The analyzer of the field you are using could impact the Phrase Query Slop.
Could you copy/paste the part of the schema ?
Ludovic.
-
Jouve
France.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Order-of-words-in-proximity-search-tp2938427p2946764.html
Sent from the
. "
>
> so you could search for "foo bar"~101 in your example.
>
> Ludovic.
>
>
> -
> Jouve
> France.
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Order-of-words-in-proximity-search-tp2938427p2946620.html
> Sent
I would prefer to put a higher slop number instead of a boolean clause : 200
perhaps in your specific case.
Ludovic.
-
Jouve
France.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Order-of-words-in-proximity-search-tp2938427p2946645.html
Sent from the Solr - User
context:
http://lucene.472066.n3.nabble.com/Order-of-words-in-proximity-search-tp2938427p2946620.html
Sent from the Solr - User mailing list archive at Nabble.com.
for an explanation :
>
> http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_search_for_one_term_near_another_term_.28say.2C_.22batman.22_and_.22movie.22.29
>
> Ludovic.
>
> -
> Jouve
> France.
> --
> View this message in context:
> http://lucene.472066.n3.nabble
Hi,
see here for an explanation :
http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_search_for_one_term_near_another_term_.28say.2C_.22batman.22_and_.22movie.22.29
Ludovic.
-
Jouve
France.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Order-of-words-in-proximity
s explaining this
>
> Best,
> Erick
>
> On Fri, May 13, 2011 at 6:13 AM, Tor Henning Ueland
> wrote:
>> Hi,
>>
>> The documentation does not(?) specify this, but still a interesting question.
>> Does the order of the words in a proximity search matter?
AM, Tor Henning Ueland
wrote:
> Hi,
>
> The documentation does not(?) specify this, but still a interesting question.
> Does the order of the words in a proximity search matter? And if it
> does, is it possible to ignore the order?
>
> I did not belive it did, but some tests
Hi,
The documentation does not(?) specify this, but still a interesting question.
Does the order of the words in a proximity search matter? And if it
does, is it possible to ignore the order?
I did not belive it did, but some tests against a ngram field does
give different results.
Examples
On 01/09/2010 13:54, Xavier Schepler wrote:
On 01/09/2010 12:38, Markus Jelsma wrote:
I think you need to enable usePhraseHighlighter in order to use the
highlightMultiTerm parameter.
On Wednesday 01 September 2010 12:12:11 Xavier Schepler wrote:
Hi,
can the highlighting component highlight
On 01/09/2010 12:38, Markus Jelsma wrote:
I think you need to enable usePhraseHighlighter in order to use the
highlightMultiTerm parameter.
On Wednesday 01 September 2010 12:12:11 Xavier Schepler wrote:
Hi,
can the highlighting component highlight terms only if the distance
between them
I think you need to enable usePhraseHighlighter in order to use the
highlightMultiTerm parameter.
On Wednesday 01 September 2010 12:12:11 Xavier Schepler wrote:
> Hi,
>
> can the highlighting component highlight terms only if the distance
> between them matches the query ?
> I use those paramet
Hi,
can the highlighting component highlight terms only if the distance
between them matches the query ?
I use those parameters :
hl=on&hl.fl=qFR,iFR,mFR,vlFR&hl.usePhraseHighlighter=false&hl.highlightMultiTerm=true&hl.simple.pre=&hl.simple.post=<%2Fb>&hl.mergeContiguous=false
> Hi
> I would appreciate if someone can throw some light on the
> following point
> regarding proximity search.
> i have a search box and if a use comes and type in "honda
> car" WITHOUT any
> double quotes, i want to get all documents with matches,
> and als
Hi
I would appreciate if someone can throw some light on the following point
regarding proximity search.
i have a search box and if a use comes and type in "honda car" WITHOUT any
double quotes, i want to get all documents with matches, and also they
should be ranked based on proximity
On Aug 18, 2009, at 8:28 AM, Ninad Raut wrote:
Hi,
I want to count the words between two significant words like "shell"
and
"petroleum". Or want to write a query to find all the documents
where the
content has "shell" and "petroleum" in close proximity of less than
10 words
between them.
See the Lucene query parser syntax documentation:
http://lucene.apache.org/java/2_3_2/queryparsersyntax.html#Proximity%20Searches
basically... "shell petroleum"~10 should do the trick (if you're using
a standard request handler, can't remember if dismax supports
proximity).
On 18 A
Hi,
I want to count the words between two significant words like "shell" and
"petroleum". Or want to write a query to find all the documents where the
content has "shell" and "petroleum" in close proximity of less than 10 words
between them.
Can such quries be created in Solr?
Regards,
Ninad Raut.
: Can I set the phrase slop value to standard request handler? I want it
: to be configurable in solrconfig.xml file.
if you mean when a user enters a query like...
+fieldA:"some phrase" +(fieldB:true fieldC:1234)
..you want to be able to control what slop value gets used for "some
phr
009 4:42:41 AM
> Subject: Phrase slop / Proximity search
>
> Can I set the phrase slop value to standard request handler? I want it
> to be configurable in solrconfig.xml file.
>
> Thanks,
> Siddharth
Can I set the phrase slop value to standard request handler? I want it
to be configurable in solrconfig.xml file.
Thanks,
Siddharth
Hi Chris,
I gather that the standard Solr query parser uses the same syntax for
proximity searches as Lucene, and that Lucene syntax is described at
http://lucene.apache.org/java/docs/queryparsersyntax.html#Proximity%20Searches
This syntax lets me look for terms that are within x words of each
I gather that the standard Solr query parser uses the same syntax for
proximity searches as Lucene, and that Lucene syntax is described at
http://lucene.apache.org/java/docs/queryparsersyntax.html#Proximity%20Searches
This syntax lets me look for terms that are within x words of each
other. The
: I have installed solr lucene for my website: clickindia.com, but I am
: unable to apply proximity search for the same over there.
:
: Please help me that how should I index solrconfig.xml & schema.xml
: after providing an option of proximity search.
in order for us to help you, you'
Hi everybody,
I have installed solr lucene for my website: clickindia.com, but I am
unable to apply proximity search for the same over there.
Please help me that how should I index solrconfig.xml & schema.xml
after providing an option of proximity search.
--
View this message in context:
80 matches
Mail list logo