searchengine/oss/cl/clucene/src/clucene/search/phrasequery.cpp
changeset 2 6c1a2771f4b7
parent 1 6f2c1c46032b
equal deleted inserted replaced
1:6f2c1c46032b 2:6c1a2771f4b7
   426 		_this->field,query.getBuffer(),doc);
   426 		_this->field,query.getBuffer(),doc);
   427    fieldExpl->setDescription(descbuf);
   427    fieldExpl->setDescription(descbuf);
   428 
   428 
   429    
   429    
   430    Explanation* tfExpl = _CLNEW Explanation;
   430    Explanation* tfExpl = _CLNEW Explanation;
   431    scorer(reader)->explain(doc, tfExpl);
   431    (void)scorer(reader)->explain(doc, tfExpl);
   432    fieldExpl->addDetail(tfExpl);
   432    fieldExpl->addDetail(tfExpl);
   433    fieldExpl->addDetail(idfExpl);
   433    fieldExpl->addDetail(idfExpl);
   434 
   434 
   435    Explanation* fieldNormExpl = _CLNEW Explanation();
   435    Explanation* fieldNormExpl = _CLNEW Explanation();
   436    uint8_t* fieldNorms = reader->norms(_this->field);
   436    uint8_t* fieldNorms = reader->norms(_this->field);