Class: Xapian::Posting
- Inherits:
-
Object
- Object
- Xapian::Posting
- Defined in:
- lib/xapian.rb
Overview
– Wrapper for the C++ class Xapian::PostingIterator
Instance Attribute Summary collapse
-
#docid ⇒ Object
Returns the value of attribute docid.
-
#doclength ⇒ Object
Returns the value of attribute doclength.
-
#wdf ⇒ Object
Returns the value of attribute wdf.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(docid, doclength, wdf) ⇒ Posting
constructor
A new instance of Posting.
Constructor Details
#initialize(docid, doclength, wdf) ⇒ Posting
Returns a new instance of Posting.
230 231 232 233 234 |
# File 'lib/xapian.rb', line 230 def initialize(docid, doclength, wdf) @docid = docid @doclength = doclength @wdf = wdf end |
Instance Attribute Details
#docid ⇒ Object
Returns the value of attribute docid.
228 229 230 |
# File 'lib/xapian.rb', line 228 def docid @docid end |
#doclength ⇒ Object
Returns the value of attribute doclength.
228 229 230 |
# File 'lib/xapian.rb', line 228 def doclength @doclength end |
#wdf ⇒ Object
Returns the value of attribute wdf.
228 229 230 |
# File 'lib/xapian.rb', line 228 def wdf @wdf end |