mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-06-19 23:16:08 -04:00
Removed unused QueryWord::m_level
This commit is contained in:
@ -310,8 +310,6 @@ bool Query::set2 ( const char *query ,
|
||||
for ( int32_t i = 0 ; i < m_numWords ; i++ ) {
|
||||
// get the ith word
|
||||
QueryWord *qw = &m_qwords[i];
|
||||
// skip if not on first level
|
||||
if ( qw->m_level != 0 ) continue;
|
||||
// stop at first OR on this level
|
||||
if ( qw->m_opcode == opcode_t::OP_OR ) break;
|
||||
// skip all punct
|
||||
|
3
Query.h
3
Query.h
@ -195,9 +195,6 @@ class QueryWord {
|
||||
// . if we're a phrase term, signs distribute across quotes
|
||||
char m_wordSign;
|
||||
char m_phraseSign;
|
||||
// the parenthetical level of this word in the boolean expression.
|
||||
// level 0 is the first level.
|
||||
char m_level;
|
||||
// is this word a query stop word?
|
||||
bool m_isQueryStopWord ;
|
||||
// is it a plain stop word?
|
||||
|
Reference in New Issue
Block a user