Removed unused QueryWord::m_level

This commit is contained in:
Ivan Skytte Jørgensen
2017-12-11 16:15:09 +01:00
parent cf9ab92e9a
commit aba03fe945
2 changed files with 0 additions and 5 deletions

@ -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

@ -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?