Re: Proximity Search with phrases

2020-12-03 Thread Radu Gheorghe
Hi Mark, I don’t really get your use-case. Maybe you can provide another example? In either case, maybe the surround query parser would help? https://lucene.apache.org/solr/guide/8_4/other-parsers.html#surround-query-parser Or span queries in general via the XML query parser? https://lucene.ap

Re: Proximity Search using edismax parser.

2017-06-12 Thread abhi Abhishek
Thanks for the suggestions Erik and Vrindavda, i was trying to understand how does the above query work when we have slop set to 10. the debug output of the SOLR Query gave the terms which were being looked up but the transpositions done to look up the search wasn't exposed. i found following sta

Re: Proximity Search using edismax parser.

2017-06-12 Thread Erik Hatcher
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

Re: Proximity Search using edismax parser.

2017-06-12 Thread vrindavda
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.

RE: Proximity Search

2015-04-30 Thread Vijay Bhoomireddy
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

Re: Proximity Search

2015-04-30 Thread Dmitry Kan
Hi, If adding PhraseQuery objects does not work, then using SpanNearQuery with slop 0 and order true for p1 and p2 should work (tried). Dmitry On Thu, Apr 30, 2015 at 8:43 PM, Sujit Pal wrote: > Hi Vijay, > > I haven't tried this myself, but perhaps you could build the two phrases as > PhraseQ

Re: Proximity Search

2015-04-30 Thread Sujit Pal
Hi Vijay, I haven't tried this myself, but perhaps you could build the two phrases as PhraseQueries and connect them up with a SpanQuery? Something like this (using your original example). PhraseQuery p1 = new PhraseQuery(); for (String word : "this is phrase 1".split()) { p1.add(new Term("my

Re: Proximity Search

2015-04-30 Thread Vijaya Narayana Reddy Bhoomi Reddy
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

RE: Proximity Search

2015-04-30 Thread Allison, Timothy B.
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

Re: Proximity Search

2015-04-30 Thread Vijaya Narayana Reddy Bhoomi Reddy
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, Rajani Ma

Re: Proximity Search

2015-04-30 Thread Rajani Maski
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 functionali

Re: Proximity Search

2015-04-30 Thread Vijaya Narayana Reddy Bhoomi Reddy
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 < vijaya.bhoomire...@

Re: Proximity Search with Grouping

2014-12-05 Thread Emre ERKEK
Thanks for answer. On Fri, Dec 5, 2014 at 2:01 PM, Allison, Timothy B. wrote: > 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] > S

RE: Proximity Search with Grouping

2014-12-05 Thread Allison, Timothy B.
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

RE: Proximity Search with Grouping

2014-12-05 Thread Allison, Timothy B.
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 proximit

Re: Proximity search with wildcard

2013-10-18 Thread sayeed
Generally in solr if we give "Company engage"~5 it will give the results containing "engage" 5 words near to the "company". So here I want to get the results if i gave the query with wildcard as "Compa* engage"~5 - Sayeed -- View this message in context: http://lucene.472066.n3.nabble.co

Re: Proximity search with wildcard

2013-10-18 Thread Harshvardhan Ojha
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. > > > > > -- > View this message in context: > http://

Re: Proximity search + Highlighting

2010-09-01 Thread Xavier Schepler
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

Re: Proximity search + Highlighting

2010-09-01 Thread Xavier Schepler
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

Re: Proximity search + Highlighting

2010-09-01 Thread Markus Jelsma
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

Re: Proximity Search

2009-08-18 Thread Erik Hatcher
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.

Re: Proximity Search

2009-08-18 Thread Toby Cole
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

Re: proximity search not working in solr lucene

2007-10-09 Thread Chris Hostetter
: 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're going to