[jira] [Updated] (LUCENE-5091) Modify SpanNotQuery to act as SpanNotNearQuery too

2013-07-24 Thread David Smiley (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-5091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Smiley updated LUCENE-5091:
-

Attachment: LUCENE-5091.patch

The attached patch updates hashCode  equals.  I'll commit this in a couple 
days if there are no changes needed.

The changes.txt will be as follows, added to new features:
* LUCENE-5091: SpanNotQuery can now be configured with pre and post slop to act 
as a hypothetical SpanNotNearQuery.  (Tim Allison via David Smiley)

 Modify SpanNotQuery to act as SpanNotNearQuery too
 --

 Key: LUCENE-5091
 URL: https://issues.apache.org/jira/browse/LUCENE-5091
 Project: Lucene - Core
  Issue Type: Improvement
  Components: core/search
Affects Versions: 4.3.1
Reporter: Tim Allison
Assignee: David Smiley
Priority: Minor
 Fix For: 4.5

 Attachments: LUCENE-5091.patch, LUCENE-5091.patch.txt


 With very small modifications, SpanNotQuery can act as a SpanNotNearQuery.
 To find a but not if b appears 3 tokens before or 4 tokens after a:
 new SpanNotQuery(a, b, 3, 4)
 Original constructor still exists and calls SpanNotQuery(a, b, 0, 0).
 Patch with tests on way.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-5091) Modify SpanNotQuery to act as SpanNotNearQuery too

2013-07-18 Thread Tim Allison (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-5091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Allison updated LUCENE-5091:


Fix Version/s: (was: 4.4)
   4.5

 Modify SpanNotQuery to act as SpanNotNearQuery too
 --

 Key: LUCENE-5091
 URL: https://issues.apache.org/jira/browse/LUCENE-5091
 Project: Lucene - Core
  Issue Type: Improvement
  Components: core/search
Affects Versions: 4.3.1
Reporter: Tim Allison
Priority: Minor
 Fix For: 4.5

 Attachments: LUCENE-5091.patch.txt


 With very small modifications, SpanNotQuery can act as a SpanNotNearQuery.
 To find a but not if b appears 3 tokens before or 4 tokens after a:
 new SpanNotQuery(a, b, 3, 4)
 Original constructor still exists and calls SpanNotQuery(a, b, 0, 0).
 Patch with tests on way.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-5091) Modify SpanNotQuery to act as SpanNotNearQuery too

2013-07-03 Thread Tim Allison (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-5091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Allison updated LUCENE-5091:


Attachment: LUCENE-5091.patch.txt

Patch attached.  Let me know how this looks.  Thank you!

 Modify SpanNotQuery to act as SpanNotNearQuery too
 --

 Key: LUCENE-5091
 URL: https://issues.apache.org/jira/browse/LUCENE-5091
 Project: Lucene - Core
  Issue Type: Improvement
  Components: core/search
Affects Versions: 4.3.1
Reporter: Tim Allison
Priority: Minor
 Fix For: 4.4

 Attachments: LUCENE-5091.patch.txt


 With very small modifications, SpanNotQuery can act as a SpanNotNearQuery.
 To find a but not if b appears 3 tokens before or 4 tokens after a:
 new SpanNotQuery(a, b, 3, 4)
 Original constructor still exists and calls SpanNotQuery(a, b, 0, 0).
 Patch with tests on way.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org