|
a/src/rcldb/searchdata.h |
|
b/src/rcldb/searchdata.h |
|
... |
|
... |
317 |
|
317 |
|
318 |
/**
|
318 |
/**
|
319 |
* "Simple" data clause with user-entered query text. This can include
|
319 |
* "Simple" data clause with user-entered query text. This can include
|
320 |
* multiple phrases and words, but no specified distance.
|
320 |
* multiple phrases and words, but no specified distance.
|
321 |
*/
|
321 |
*/
|
322 |
class TextSplitQ;
|
322 |
class TermProcQ;
|
323 |
class SearchDataClauseSimple : public SearchDataClause {
|
323 |
class SearchDataClauseSimple : public SearchDataClause {
|
324 |
public:
|
324 |
public:
|
325 |
SearchDataClauseSimple(SClType tp, const std::string& txt,
|
325 |
SearchDataClauseSimple(SClType tp, const std::string& txt,
|
326 |
const std::string& fld = std::string())
|
326 |
const std::string& fld = std::string())
|
327 |
: SearchDataClause(tp), m_text(txt), m_field(fld), m_curcl(0)
|
327 |
: SearchDataClause(tp), m_text(txt), m_field(fld), m_curcl(0)
|
|
... |
|
... |
373 |
std::string& sterm, const std::string& prefix);
|
373 |
std::string& sterm, const std::string& prefix);
|
374 |
// After splitting entry on whitespace: process non-phrase element
|
374 |
// After splitting entry on whitespace: process non-phrase element
|
375 |
void processSimpleSpan(Rcl::Db &db, string& ermsg, const string& span,
|
375 |
void processSimpleSpan(Rcl::Db &db, string& ermsg, const string& span,
|
376 |
int mods, void *pq);
|
376 |
int mods, void *pq);
|
377 |
// Process phrase/near element
|
377 |
// Process phrase/near element
|
378 |
void processPhraseOrNear(Rcl::Db &db, string& ermsg, TextSplitQ *splitData,
|
378 |
void processPhraseOrNear(Rcl::Db &db, string& ermsg, TermProcQ *splitData,
|
379 |
int mods, void *pq, bool useNear, int slack);
|
379 |
int mods, void *pq, bool useNear, int slack);
|
380 |
};
|
380 |
};
|
381 |
|
381 |
|
382 |
/**
|
382 |
/**
|
383 |
* Filename search clause. This is special because term expansion is only
|
383 |
* Filename search clause. This is special because term expansion is only
|