示例#1
0
 internal void WriteTo(IO.SphinxBinaryWriter _bw)
 {
     _bw.WriteStr(BeforeMatch);     // before_match
     _bw.WriteStr(AfterMatch);      // after_match
     _bw.WriteStr(ChunkSeparator);  // chunk_separator
     _bw.WriteInt(Limit);           // limit
     _bw.WriteInt(Around);          // around
     _bw.WriteInt(LimitPassages);   // limit_passages
     _bw.WriteInt(LimitWords);      // limit_words
     _bw.WriteInt(StartPassageId);  // start_passage_id
     _bw.WriteStr(HtmlStripMode);   // html_strip_mode
     _bw.WriteStr(PassageBoundary); // passage_boundary
 }
示例#2
0
 internal void WriteTo(IO.SphinxBinaryWriter _bw)
 {
     _bw.WriteStr(Attribute);
     _bw.WriteInt((int)Type);
     InternalWriteTo(_bw);
     _bw.WriteInt((Exclude ? 1 : 0));
 }