![]() |
Couchbase Lite
Objective-C API for iOS and Mac OS
|
A single result from a full-text CBLQuery.
Instance Methods | |
(NSRange) | - textRangeOfMatch: |
The character range in the fullText of a particular match. More... | |
(NSUInteger) | - termIndexOfMatch: |
The index of the search term matched by a particular match. More... | |
![]() | |
(nullable id) | - valueAtIndex: |
The result value at the given index (if the query has a "returning" specification.) More... | |
(bool) | - booleanAtIndex: |
(NSInteger) | - integerAtIndex: |
(float) | - floatAtIndex: |
(double) | - doubleAtIndex: |
(nullable NSString *) | - stringAtIndex: |
(nullable NSDate *) | - dateAtIndex: |
(nullable id) | - objectAtIndexedSubscript: |
(instancetype) | - NS_UNAVAILABLE |
Properties | |
NSString * | fullTextMatched |
The text emitted when the view was indexed (the argument to CBLTextKey()) which contains the match(es). More... | |
NSUInteger | matchCount |
The number of query words that were found in the fullText. More... | |
![]() | |
NSString * | documentID |
The ID of the document that produced this row. More... | |
uint64_t | sequence |
The sequence number of the document revision that produced this row. More... | |
CBLDocument * | document |
The document that produced this row. More... | |
- (NSRange) textRangeOfMatch: | (NSUInteger) | matchNumber |
The character range in the fullText of a particular match.
- (NSUInteger) termIndexOfMatch: | (NSUInteger) | matchNumber |
The index of the search term matched by a particular match.
Search terms are the individual words in the full-text search expression, skipping duplicates and noise/stop-words. They're numbered from zero.
|
readatomicassign |
The text emitted when the view was indexed (the argument to CBLTextKey()) which contains the match(es).
|
readnonatomicassign |
The number of query words that were found in the fullText.
(If a query word appears more than once, only the first instance is counted.)