|
xapian-core
2.0.0
|
Inheritance diagram for Xapian::Internal::AndContext:
Collaboration diagram for Xapian::Internal::AndContext:Public Member Functions | |
| AndContext (QueryOptimiser *qopt_, size_t reserve) | |
| bool | add_postlist (PostList *pl, unique_ptr< EstimateOp > &&estimate, TermFreqs *termfreqs) |
| bool | add_postlist (PostListAndEstimate p, TermFreqs *termfreqs) |
| void | set_match_all () |
| void | add_pos_filter (Query::op op_, size_t n_subqs, Xapian::termcount window) |
| OrContext & | get_not_ctx (size_t reserve) |
| OrContext & | get_maybe_ctx (size_t reserve) |
| PostListAndEstimate | postlist (TermFreqs *termfreqs) |
Public Member Functions inherited from Xapian::Internal::Context | |
| Context (QueryOptimiser *qopt_, size_t reserve) | |
| ~Context () | |
| Xapian::docid | get_first () const |
| Xapian::docid | get_last () const |
| void | add_termfreqs (TermFreqs *termfreqs) |
| void | add_postlist (PostList *pl, EstimateOp *estimate, TermFreqs *termfreqs) |
| void | add_postlist (PostListAndEstimate p, TermFreqs *termfreqs) |
| bool | empty () const |
| Xapian::termcount | size () const |
| void | shrink (size_t new_size) |
| void | expand_wildcard (const QueryWildcard *query, double factor, TermFreqs *termfreqs) |
| Expand a wildcard query. More... | |
| void | expand_edit_distance (const QueryEditDistance *query, double factor, TermFreqs *termfreqs) |
| Expand an edit distance query. More... | |
Private Attributes | |
| list< PosFilter > | pos_filters |
| unique_ptr< OrContext > | not_ctx |
| unique_ptr< OrContext > | maybe_ctx |
| bool | match_all = false |
| True if this AndContext has seen a no-op MatchAll. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Xapian::Internal::Context | |
| QueryOptimiser * | qopt |
| vector< PostList * > | pls |
| VecUniquePtr< EstimateOp > | estimates |
| vector< TermFreqs > | termfreqs_list |
| Xapian::docid | first = Xapian::docid(-1) |
| Lower bound on matching docid range. More... | |
| Xapian::docid | last = 0 |
| Upper bound on matching docid range. More... | |
Definition at line 680 of file queryinternal.cc.
|
inline |
Definition at line 695 of file queryinternal.cc.
| void Xapian::Internal::AndContext::add_pos_filter | ( | Query::op | op_, |
| size_t | n_subqs, | ||
| Xapian::termcount | window | ||
| ) |
Definition at line 752 of file queryinternal.cc.
References Assert.
Referenced by Xapian::Internal::QueryWindowed::postlist_windowed().
|
inline |
Definition at line 701 of file queryinternal.cc.
References Xapian::Internal::PostList::get_docid_range().
Referenced by Xapian::Internal::QueryTerm::postlist_sub_and_like(), Xapian::Query::Internal::postlist_sub_and_like(), and Xapian::Internal::QueryWindowed::postlist_windowed().
|
inline |
Definition at line 724 of file queryinternal.cc.
References p.
|
inline |
Definition at line 741 of file queryinternal.cc.
Referenced by Xapian::Internal::QueryAndMaybe::postlist_sub_and_like().
|
inline |
Definition at line 734 of file queryinternal.cc.
Referenced by Xapian::Internal::QueryAndNot::postlist_sub_and_like().
| PostListAndEstimate Xapian::Internal::AndContext::postlist | ( | TermFreqs * | termfreqs | ) |
Definition at line 774 of file queryinternal.cc.
References EstimateOp::AND, EstimateOp::AND_NOT, Assert, Xapian::Internal::TermFreqs::collfreq, Xapian::Internal::estimate_and_not(), Xapian::Internal::TermFreqs::reltermfreq, Xapian::Internal::TermFreqs::termfreq, and usual.
Referenced by Xapian::Internal::QueryAndLike::postlist(), Xapian::Internal::QueryAndNot::postlist(), Xapian::Internal::QueryAndMaybe::postlist(), and Xapian::Internal::QueryFilter::postlist().
|
inline |
Definition at line 728 of file queryinternal.cc.
Referenced by Xapian::Internal::QueryTerm::postlist_sub_and_like().
|
private |
True if this AndContext has seen a no-op MatchAll.
If it has and it ends up empty then the resulting postlist should be MatchAll not MatchNothing.
Definition at line 692 of file queryinternal.cc.
|
private |
Definition at line 685 of file queryinternal.cc.
|
private |
Definition at line 683 of file queryinternal.cc.
|
private |
Definition at line 681 of file queryinternal.cc.