Package dw.xmlrpc

Class SearchResult


  • public class SearchResult
    extends java.lang.Object
    Result of a text search on the wiki
    • Constructor Summary

      Constructors 
      Constructor Description
      SearchResult​(java.lang.String id, java.lang.String title, java.lang.Integer rev, java.lang.Integer mtime, java.lang.Integer score, java.lang.String snippet, java.lang.Integer size)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String id()  
      java.lang.Integer mtime()  
      java.lang.Integer rev()  
      java.lang.Integer score()
      Score of the result.
      java.lang.Integer size()  
      java.lang.String snippet()
      Snippet of the page matching the search.
      java.lang.String title()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SearchResult

        public SearchResult​(java.lang.String id,
                            java.lang.String title,
                            java.lang.Integer rev,
                            java.lang.Integer mtime,
                            java.lang.Integer score,
                            java.lang.String snippet,
                            java.lang.Integer size)
    • Method Detail

      • id

        public java.lang.String id()
      • title

        public java.lang.String title()
      • size

        public java.lang.Integer size()
      • rev

        public java.lang.Integer rev()
      • mtime

        public java.lang.Integer mtime()
      • score

        public java.lang.Integer score()
        Score of the result. The higher, the more relevant this result is.
      • snippet

        public java.lang.String snippet()
        Snippet of the page matching the search.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object