Example #1
0
 def set_one_character_searches(self, one_character_searches):
     """
     Set one character searches.
     """
     self._config['one-character-searches'] = assert_boolean(
         one_character_searches)
     return self
Example #2
0
 def set_fast_diacritic_sensitive_searches(self, fdss):
     """
     Set fast diacritic-sensitive searches
     """
     self._config['fast-diacritic-sensitive-searches'] = assert_boolean(
         fdss)
     return self
Example #3
0
 def set_two_character_searches(self, two_character_searches):
     """
     Set two character searches.
     """
     self._config['two-character-searches'] = assert_boolean(
         two_character_searches)
     return self
Example #4
0
 def set_three_character_searches(self, three_character_searches):
     """
     Set three character searches.
     """
     self._config['three-character-searches'] = assert_boolean(
         three_character_searches)
     return self
Example #5
0
 def set_trailing_wildcard_searches(self, trailing_wildcard_searches):
     """
     Set trailing wildcard searches.
     """
     self._config['trailing-wildcard-searches'] = assert_boolean(
         trailing_wildcard_searches)
     return self
Example #6
0
 def set_fast_case_sensitive_searches(self, fast_case_sensitive_searches):
     """
     Set fast case-sensitive searches.
     """
     self._config['fast-case-sensitive-searches'] = assert_boolean(
         fast_case_sensitive_searches)
     return self
Example #7
0
 def set_fast_phrase_searches(self, fast_phrase_searches):
     """
     Set fast phrase searches.
     """
     self._config['fast-phrase-searches'] = assert_boolean(
         fast_phrase_searches)
     return self
Example #8
0
 def set_field_value_positions(self, field_value_positions):
     """
     Set field value positions.
     """
     self._config['field-value-positions'] = assert_boolean(
         field_value_positions)
     return self
Example #9
0
 def set_field_value_searches(self, field_value_searches):
     """
     Set field value searches.
     """
     self._config['field-value-searches'] = assert_boolean(
         field_value_searches)
     return self
Example #10
0
 def set_three_character_word_positions(self,
                                        three_character_word_positions):
     """
     Set three character word positions.
     """
     self._config['three-character-word-positions'] = assert_boolean(
         three_character_word_positions)
     return self
Example #11
0
 def set_trailing_wildcard_word_positions(self,
                                          trailing_wildcard_word_positions):
     """
     Set trailing wildcard word positions.
     """
     self._config['trailing-wildcard-word-positions'] = assert_boolean(
         trailing_wildcard_word_positions)
     return self
Example #12
0
 def set_word_searches(self, word_searches):
     """
     Set word searches.
     """
     self._config['word-searches'] = assert_boolean(word_searches)
     return self