Introduction to Search with Sphinx by Andrew Aksyonoff

Introduction to Search with Sphinx by Andrew Aksyonoff

Author:Andrew Aksyonoff [Andrew Aksyonoff]
Language: eng
Format: epub, pdf
Tags: COMPUTERS / Web / Search Engines
ISBN: 9780596809522
Publisher: O'Reilly Media
Published: 2011-04-20T16:00:00+00:00


Field Limit Operator

The field limit operator is a commonly used operator, because people frequently want to limit their searches to an email subject header, or a forum thread title, or a more complicated set of fields.

The syntax is @fieldname—and it was conceived before Twitter. (Well, maybe not before the first public release of Twttr by Odeo, but definitely before everyone and his dog was surprised to discover himself on Twitter by Twitter Inc.). If we could do it over, we might have gone with something that wouldn’t conflict with the suddenly popular use of the at sign. Or not.

Formal precedence rules for this operator are rather cumbersome. Luckily, they’re very easy to explain informally:

The field limit operator constrains everything that follows up to either the next field operator or the next right parenthesis.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.