Class SearchResult


  • public final class SearchResult
    extends java.lang.Object
    A single item in a set or returned results formed by searching the web-searchable indices with Lucene.
    Author:
    ajk59
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.Object> asList()
      A list of between two and three items containing the information in this result.
      WebSearchable getItem()
      Get the web searchable item that was found.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • getItem

        public WebSearchable getItem()
        Get the web searchable item that was found.
        Returns:
        The item included in the search results.
      • asList

        public java.util.List<java.lang.Object> asList()
        A list of between two and three items containing the information in this result.
        Returns:
        A list.
      • toString

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