Class SearchItem

  • All Implemented Interfaces:

    public class SearchItem
    extends java.lang.Object
    Item of Index search result. Items are sorted by score before calling the GrantHooks.postSearchIndex(grant, items)
    See Also:
    Serialized Form
    • Field Summary

      Modifier and Type Field Description
      java.lang.String data
      Optional index data
      java.lang.String key
      Index key
      java.lang.String object
      Object name
      java.lang.String row_id
      Object row ID
      java.lang.String score
      java.lang.String ukey
      Object user key
      java.util.List<java.lang.String> values
      Optional object values
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setValue​(java.lang.String val)
      Set one value
      void setValues​(java.lang.String[] val)
      Set all values
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • score

        public java.lang.String score
      • object

        public java.lang.String object
        Object name
      • row_id

        public java.lang.String row_id
        Object row ID
      • key

        public java.lang.String key
        Index key
      • ukey

        public java.lang.String ukey
        Object user key
      • data

        public java.lang.String data
        Optional index data
      • values

        public java.util.List<java.lang.String> values
        Optional object values
    • Constructor Detail

      • SearchItem

        public SearchItem()
    • Method Detail

      • setValue

        public void setValue​(java.lang.String val)
        Set one value
      • setValues

        public void setValues​(java.lang.String[] val)
        Set all values