w/10 ? [was: Partial Counts in SOLR]
In the thread "Partial Counts in SOLR", Salman gave us this sample query: ((stock or share*) w/10 (sale or sell* or sold or bought or buy* or purchase* or repurchase*)) w/10 (executive or director) I'm not familiar with this w/10 notation. What does this mean, and what parser(s) supports this syntax? Kuro
Re: w/10 ? [was: Partial Counts in SOLR]
Hi, Guessing it's surround query parser's support for "within" backed by span queries. Otis Solr & ElasticSearch Support http://sematext.com/ On Mar 19, 2014 4:44 PM, "T. Kuro Kurosaka" wrote: > In the thread "Partial Counts in SOLR", Salman gave us this sample query: > > ((stock or share*) w/10 (sale or sell* or sold or bought or buy* or >> purchase* or repurchase*)) w/10 (executive or director) >> > > I'm not familiar with this w/10 notation. What does this mean, > and what parser(s) supports this syntax? > > Kuro > >
Re: w/10 ? [was: Partial Counts in SOLR]
Yup! On Thu, Mar 20, 2014 at 5:13 AM, Otis Gospodnetic < otis.gospodne...@gmail.com> wrote: > Hi, > > Guessing it's surround query parser's support for "within" backed by span > queries. > > Otis > Solr & ElasticSearch Support > http://sematext.com/ > On Mar 19, 2014 4:44 PM, "T. Kuro Kurosaka" wrote: > > > In the thread "Partial Counts in SOLR", Salman gave us this sample query: > > > > ((stock or share*) w/10 (sale or sell* or sold or bought or buy* or > >> purchase* or repurchase*)) w/10 (executive or director) > >> > > > > I'm not familiar with this w/10 notation. What does this mean, > > and what parser(s) supports this syntax? > > > > Kuro > > > > > -- Regards, Salman Akram
Re: w/10 ? [was: Partial Counts in SOLR]
On 3/19/14 5:13 PM, Otis Gospodnetic wrote:> Hi, > > Guessing it's surround query parser's support for "within" backed by span > queries. > > Otis You mean this? http://wiki.apache.org/solr/SurroundQueryParser I guess this parser needs improvement in documentation area. It doesn't explain or have an example of the w/ syntax at all. (Is this the infix notation of W?) An example would help explaining difference between W and N; some readers may not understand what "ordered" and "unordered" in this context mean. Kuro
Re: w/10 ? [was: Partial Counts in SOLR]
I think SQP is getting axed, no? Otis -- Performance Monitoring * Log Analytics * Search Analytics Solr & Elasticsearch Support * http://sematext.com/ On Mon, Mar 24, 2014 at 3:45 PM, T. Kuro Kurosaka wrote: > On 3/19/14 5:13 PM, Otis Gospodnetic wrote:> Hi, > > > > Guessing it's surround query parser's support for "within" backed by span > > queries. > > > > Otis > > You mean this? > http://wiki.apache.org/solr/SurroundQueryParser > > I guess this parser needs improvement in documentation area. > It doesn't explain or have an example of the w/ syntax at all. > (Is this the infix notation of W?) > An example would help explaining difference between W and N; > some readers may not understand what "ordered" and "unordered" > in this context mean. > > Kuro > >
Re: w/10 ? [was: Partial Counts in SOLR]
Hi, There is no w/ syntax in surround. /* Query language operators: OR, AND, NOT, W, N, (, ), ^, *, ?, " and comma */ Ahmet On Monday, March 24, 2014 9:46 PM, T. Kuro Kurosaka wrote: On 3/19/14 5:13 PM, Otis Gospodnetic wrote:> Hi, > > Guessing it's surround query parser's support for "within" backed by span > queries. > > Otis You mean this? http://wiki.apache.org/solr/SurroundQueryParser I guess this parser needs improvement in documentation area. It doesn't explain or have an example of the w/ syntax at all. (Is this the infix notation of W?) An example would help explaining difference between W and N; some readers may not understand what "ordered" and "unordered" in this context mean. Kuro
Re: w/10 ? [was: Partial Counts in SOLR]
That is similar to Verity VQL, but that used "NEAR/10". --wunder On Mar 24, 2014, at 4:21 PM, Ahmet Arslan wrote: > Hi, > > There is no w/ syntax in surround. > /* Query language operators: OR, AND, NOT, W, N, (, ), ^, *, ?, " and comma */ > > Ahmet > > > > On Monday, March 24, 2014 9:46 PM, T. Kuro Kurosaka > wrote: > On 3/19/14 5:13 PM, Otis Gospodnetic wrote:> Hi, >> >> Guessing it's surround query parser's support for "within" backed by span >> queries. >> >> Otis > > You mean this? > http://wiki.apache.org/solr/SurroundQueryParser > > I guess this parser needs improvement in documentation area. > It doesn't explain or have an example of the w/ syntax at all. > (Is this the infix notation of W?) > An example would help explaining difference between W and N; > some readers may not understand what "ordered" and "unordered" > in this context mean. > > > Kuro -- Walter Underwood wun...@wunderwood.org
Re: w/10 ? [was: Partial Counts in SOLR]
Basically we just created this syntax for the ease of users, otherwise on back end it uses W or N operators. On Tue, Mar 25, 2014 at 4:21 AM, Ahmet Arslan wrote: > Hi, > > There is no w/ syntax in surround. > /* Query language operators: OR, AND, NOT, W, N, (, ), ^, *, ?, " and > comma */ > > Ahmet > > > > On Monday, March 24, 2014 9:46 PM, T. Kuro Kurosaka > wrote: > On 3/19/14 5:13 PM, Otis Gospodnetic wrote:> Hi, > > > > Guessing it's surround query parser's support for "within" backed by span > > queries. > > > > Otis > > You mean this? > http://wiki.apache.org/solr/SurroundQueryParser > > I guess this parser needs improvement in documentation area. > It doesn't explain or have an example of the w/ syntax at all. > (Is this the infix notation of W?) > An example would help explaining difference between W and N; > some readers may not understand what "ordered" and "unordered" > in this context mean. > > > Kuro > -- Regards, Salman Akram
Re: w/10 ? [was: Partial Counts in SOLR]
perhaps useful, here is an open source implementation with near[digit] support, incl analysis of proximity tokens. When days become longer maybe itwill be packaged into a nice lib...:-) https://github.com/romanchyla/montysolr/blob/master/contrib/adsabs/grammars/ADS.g On 25 Mar 2014 00:14, "Salman Akram" wrote: > Basically we just created this syntax for the ease of users, otherwise on > back end it uses W or N operators. > > > On Tue, Mar 25, 2014 at 4:21 AM, Ahmet Arslan wrote: > > > Hi, > > > > There is no w/ syntax in surround. > > /* Query language operators: OR, AND, NOT, W, N, (, ), ^, *, ?, " and > > comma */ > > > > Ahmet > > > > > > > > On Monday, March 24, 2014 9:46 PM, T. Kuro Kurosaka > > > wrote: > > On 3/19/14 5:13 PM, Otis Gospodnetic wrote:> Hi, > > > > > > Guessing it's surround query parser's support for "within" backed by > span > > > queries. > > > > > > Otis > > > > You mean this? > > http://wiki.apache.org/solr/SurroundQueryParser > > > > I guess this parser needs improvement in documentation area. > > It doesn't explain or have an example of the w/ syntax at all. > > (Is this the infix notation of W?) > > An example would help explaining difference between W and N; > > some readers may not understand what "ordered" and "unordered" > > in this context mean. > > > > > > Kuro > > > > > > -- > Regards, > > Salman Akram >