Class BlindIndexSearch


  • public final class BlindIndexSearch
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete()  
      protected void finalize()  
      int[] tokenizeData​(java.lang.String query, java.lang.String partitionId)
      Generate the list of tokens to use to find entries that match the search query, given the specified partitionId.
      int[] tokenizeQuery​(java.lang.String query, java.lang.String partitionId)
      Generate the list of tokens to use to find entries that match the search query, given the specified partitionId.
      • Methods inherited from class java.lang.Object

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

      • tokenizeQuery

        public final int[] tokenizeQuery​(java.lang.String query,
                                         java.lang.String partitionId)
                                  throws java.lang.Exception
        Generate the list of tokens to use to find entries that match the search query, given the specified partitionId.
        Parameters:
        query - the string you want to tokenize and hash
        partitionId - an extra string to include in every hash, allowing 2 queries with different partitionIds to produce a different set of tokens for the same query
        Throws:
        java.lang.Exception
      • tokenizeData

        public final int[] tokenizeData​(java.lang.String query,
                                        java.lang.String partitionId)
                                 throws java.lang.Exception
        Generate the list of tokens to use to find entries that match the search query, given the specified partitionId.
        Parameters:
        query - the string you want to tokenize and hash
        partitionId - an extra string to include in every hash, allowing 2 queries with different partitionIds to produce a different set of tokens for the same query
        Throws:
        java.lang.Exception
      • delete

        public void delete()
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable