Esempio n. 1
0
 internal void WriteTo(IO.SphinxBinaryWriter _bw)
 {
     _bw.WriteStr(Attribute);
     _bw.WriteInt((int)Type);
     InternalWriteTo(_bw);
     _bw.WriteInt((Exclude ? 1 : 0));
 }
Esempio n. 2
0
 protected override void InternalWriteTo(IO.SphinxBinaryWriter _bw)
 {
     _bw.WriteInt(Values.Length);
     foreach (long v in Values)
     {
         _bw.WriteLong(v);
     }
 }
Esempio n. 3
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
 }
Esempio n. 4
0
 protected override void InternalWriteTo(IO.SphinxBinaryWriter _bw)
 {
     _bw.WriteFloat(Min);
     _bw.WriteFloat(Max);
 }
Esempio n. 5
0
 protected abstract void InternalWriteTo(IO.SphinxBinaryWriter _bw);