Hi,

Any news on this?


On Fri, Jan 17, 2014 at 1:54 AM, Gopal Agarwal <[email protected]>wrote:

> Sounds perfect. Hopefully one of the committer picks this up and adds this
> to 4.7.
>
> Will keep checking the updates...
>
>
> On Fri, Jan 17, 2014 at 1:17 AM, Allison, Timothy B. 
> <[email protected]>wrote:
>
>>  And don’t forget analysis! J
>>
>>
>>
>> The code is non-trivial, and it will take a generous committer to help me
>> get it into shape for committing.  Once I push my mods to jira (end of next
>> week), you should be able to compile it and run it at least for dev/testing
>> to confirm that it meets your needs.
>>
>>
>>
>> *From:* Gopal Agarwal [mailto:[email protected]]
>> *Sent:* Thursday, January 16, 2014 1:21 PM
>> *To:* [email protected]
>> *Subject:* Re: Span Not Queries
>>
>>
>>
>> Thanks Tim. This exactly fits my requirements of recursion, SpanNot and
>> ComplexParser combination with Boolean Parser.
>>
>>
>>
>> Since I would end up doing the exact same changes to my QueryParserBase
>> class, I would be locked with the current version of SOLR for forseeable
>> future.
>>
>>
>>
>> Can you comment on when is the possible release if it gets reviewed by
>> next week?
>>
>>
>>
>>
>>
>> On Thu, Jan 16, 2014 at 11:06 PM, Allison, Timothy B. <[email protected]>
>> wrote:
>>
>> Apologies for the self-promotion…LUCENE-5205 and its Solr cousin
>> (SOLR-5410) might help.  I’m hoping to post updates to both by the end of
>> next week.  Then, if a committer would be willing to review and add these
>> to Lucene/Solr, you should be good to go.
>>
>>
>>
>> Take a look at the description for LUCENE-5205and see if that capability
>> will meet your needs.  Thank you.
>>
>>
>>
>>   Best,
>>
>>
>>
>>              Tim
>>
>>
>>
>> *From:* Gopal Agarwal [mailto:[email protected]]
>> *Sent:* Thursday, January 16, 2014 4:10 AM
>> *To:* [email protected]
>> *Subject:* Fwd: Span Not Queries
>>
>>
>>
>> Please help me out with earlier query.
>>
>>
>>
>> In short:
>>
>> 1. Can we change the QueryParser.jj file to identify the SpanNot query
>> as a boolean clause?
>>
>>
>>
>> 2. Can we use ComplexPhraseQuery Parser to support SpanOR and SpanNOT
>> queries also?
>>
>>
>>
>> For further explanation, following are the examples.
>>
>>
>>
>> On Tue, Oct 15, 2013 at 11:27 PM, Ankit Kumar <[email protected]>
>> wrote:
>>
>> *I have a business use case in which i need to use Span Not and
>> other ordered proximity queries . And they can be nested upto any level
>> A Boolean inside a ordered query or ordered query inside a Boolean
>>  . Currently i am thinking of changing the QuerParser.jj file to identify
>> the SpanNot query and use Complex Phrase Query Parser of Lucene for
>> parsing
>> complex queries . Can you suggest better way of achieving this.*
>>
>> *Following are the list of additions that i need to do in SOLR.*
>>
>> *1. Span NOT Operator*  .
>>
>> 2.Adding Recursive and Range Proximity
>>
>>       *Recursive Proximity *is a proximity query within a proximity query
>>
>> Ex:   “ “income tax”~5   statement” ~4  The recursion can be up to any
>> level.
>>
>>     * Range Proximity*: Currently we can only define number as a range we
>> want interval as a range .
>>
>> Ex: “profit income”~3,5    ,  “United America”~-5,4
>>
>>
>>
>> 3. Complex  Queries
>>
>> A complex query is a query formed with a combination of Boolean operators
>> or proximity queries or range queries or any possible combination of
>> these.
>>
>> Ex:    “(income AND tax) statement”~4
>>
>>           “ “income tax”~4  (statement OR period) ”~3
>>
>>           (“ income” SPAN NOT  “income tax” ) source ~3,5
>>
>>  Can anyone suggest us some way of achieving these 3 functionalities in
>> SOLR
>>  ???
>>
>>
>> On Tue, Oct 15, 2013 at 10:15 PM, Jack Krupansky <[email protected]
>> >wrote:
>>
>>
>> > Nope. But the LucidWorks Search product query parser does support
>> SpanNot
>> > if you use their BEFORE, AFTER, and NEAR span operators.
>> >
>> > See:
>>
>> > http://docs.lucidworks.com/**display/lweug/Proximity+**Operations<
>> http://docs.lucidworks.com/display/lweug/Proximity+Operations>
>>
>> >
>> > For example: "George BEFORE:2 Bush NOT H" to match George <anything>
>> Bush,
>> > but not George H. W. Bush.
>> >
>> > What is your specific use case?
>> >
>> > -- Jack Krupansky
>> >
>> > -----Original Message----- From: Ankit Kumar
>> > Sent: Tuesday, October 15, 2013 3:58 AM
>> > To: [email protected]
>> > Subject: Span Not Queries
>> >
>> >
>> > I need to add Span Not queries in solr . Ther's a parser Surround Query
>> > Parser  i went through this (
>>
>> > http://lucene.472066.n3.**nabble.com/Surround-query-**
>> > parser-not-working-td4075066.**html<
>> http://lucene.472066.n3.nabble.com/Surround-query-parser-not-working-td4075066.html
>> >
>>
>> > )
>> > to discover that surround query parser does not analyze text
>> >
>> > Does DisMaxQueryParser supports SpanNot Queries ??
>> >
>>
>>
>>
>>
>>
>>
>>
>
>

Reply via email to