View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001259Sphinxgeneralpublic2012-07-27 15:452013-05-07 15:32
Reporterbarryhunter 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusnewResolutionopen 
PlatformOSOS Version
Product Version2.0.2-beta 
Target VersionFixed in Version 
Summary0001259: Negative Assertion operator (aka NOT NEAR)
DescriptionBasically a new operators to be able to run queries of the form "search for word X except when followed by Y"

Example:
match documents that do contain "beach", but not when its just part of "Beach
Street" phrase.

(just excluding the phrase, excludes all documents, even if they contain "beach" on its own elsewhere in the document)


In regular expression terms, would be an Assertion
http://www.php.net/manual/en/regexp.reference.assertions.php [^]
example: Beach(?! Street)

(I dont think any need for positive assertions with sphinx, only negative assertions)

Additional Informationbackground information

http://sphinxsearch.com/forum/view.html?id=9869 [^]


Could be done as a 'NOTBEFORE' and 'NOTAFTER' but a general NOTNEAR would probably be most useful.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2012-07-27 15:45 barryhunter New Issue
2013-05-07 15:32 rpilbeam Issue Monitored: rpilbeam


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker