|
a/src/query/docseq.h |
|
b/src/query/docseq.h |
|
... |
|
... |
106 |
}
|
106 |
}
|
107 |
virtual int getFirstMatchPage(Rcl::Doc&, std::string&)
|
107 |
virtual int getFirstMatchPage(Rcl::Doc&, std::string&)
|
108 |
{
|
108 |
{
|
109 |
return -1;
|
109 |
return -1;
|
110 |
}
|
110 |
}
|
|
|
111 |
/** Get duplicates. */
|
|
|
112 |
virtual bool docDups(const Rcl::Doc&, std::vector<Rcl::Doc>&)
|
|
|
113 |
{
|
|
|
114 |
return false;
|
|
|
115 |
}
|
111 |
|
116 |
|
112 |
virtual bool getEnclosing(Rcl::Doc&, Rcl::Doc&) = 0;
|
117 |
virtual bool getEnclosing(Rcl::Doc&, Rcl::Doc&) = 0;
|
113 |
|
118 |
|
114 |
/** Get estimated total count in results */
|
119 |
/** Get estimated total count in results */
|
115 |
virtual int getResCnt() = 0;
|
120 |
virtual int getResCnt() = 0;
|
|
... |
|
... |
182 |
std::vector<Rcl::Snippet>& abs)
|
187 |
std::vector<Rcl::Snippet>& abs)
|
183 |
{
|
188 |
{
|
184 |
if (m_seq.isNull())
|
189 |
if (m_seq.isNull())
|
185 |
return false;
|
190 |
return false;
|
186 |
return m_seq->getAbstract(doc, abs);
|
191 |
return m_seq->getAbstract(doc, abs);
|
|
|
192 |
}
|
|
|
193 |
/** Get duplicates. */
|
|
|
194 |
virtual bool docDups(const Rcl::Doc& doc, std::vector<Rcl::Doc>& dups)
|
|
|
195 |
{
|
|
|
196 |
if (m_seq.isNull())
|
|
|
197 |
return false;
|
|
|
198 |
return m_seq->docDups(doc, dups);
|
187 |
}
|
199 |
}
|
188 |
|
200 |
|
189 |
virtual bool snippetsCapable()
|
201 |
virtual bool snippetsCapable()
|
190 |
{
|
202 |
{
|
191 |
if (m_seq.isNull())
|
203 |
if (m_seq.isNull())
|