|
a/src/query/docseq.h |
|
b/src/query/docseq.h |
|
... |
|
... |
121 |
vector<vector<string> >& groups,
|
121 |
vector<vector<string> >& groups,
|
122 |
vector<int>& gslks)
|
122 |
vector<int>& gslks)
|
123 |
{
|
123 |
{
|
124 |
terms.clear(); groups.clear(); gslks.clear(); return true;
|
124 |
terms.clear(); groups.clear(); gslks.clear(); return true;
|
125 |
}
|
125 |
}
|
|
|
126 |
/** Get user-input terms (before stemming etc.) */
|
|
|
127 |
virtual void getUTerms(vector<string>& terms)
|
|
|
128 |
{
|
|
|
129 |
terms.clear();
|
|
|
130 |
}
|
126 |
virtual list<string> expand(Rcl::Doc &) {return list<string>();}
|
131 |
virtual list<string> expand(Rcl::Doc &) {return list<string>();}
|
127 |
|
132 |
|
128 |
/** Optional functionality. Yeah, not nice */
|
133 |
/** Optional functionality. Yeah, not nice */
|
129 |
virtual bool canFilter() {return false;}
|
134 |
virtual bool canFilter() {return false;}
|
130 |
virtual bool setFiltSpec(DocSeqFiltSpec &) {return false;}
|
135 |
virtual bool setFiltSpec(DocSeqFiltSpec &) {return false;}
|
|
... |
|
... |
157 |
vector<vector<string> >& groups,
|
162 |
vector<vector<string> >& groups,
|
158 |
vector<int>& gslks)
|
163 |
vector<int>& gslks)
|
159 |
{
|
164 |
{
|
160 |
return m_seq->getTerms(terms, groups, gslks);
|
165 |
return m_seq->getTerms(terms, groups, gslks);
|
161 |
}
|
166 |
}
|
|
|
167 |
virtual void getUTerms(vector<string>& terms)
|
|
|
168 |
{
|
|
|
169 |
m_seq->getUTerms(terms);
|
|
|
170 |
}
|
162 |
|
171 |
|
163 |
protected:
|
172 |
protected:
|
164 |
RefCntr<DocSequence> m_seq;
|
173 |
RefCntr<DocSequence> m_seq;
|
165 |
};
|
174 |
};
|
166 |
|
175 |
|