# Synonym search is failing with default FESS boolean operator "AND"

**URL:** <https://discuss.codelibs.org/t/synonym-search-is-failing-with-default-fess-boolean-operator-and/1960>\
**Category:** English:Fess\
**Created:** [July 25, 2022, 7:28am UTC](https://discuss.codelibs.org/t/synonym-search-is-failing-with-default-fess-boolean-operator-and/1960 "2022-07-25T07:28:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![KGPBharathi](https://discuss.codelibs.org/user_avatar/discuss.codelibs.org/kgpbharathi/32/442_2.png) [@KGPBharathi](https://discuss.codelibs.org/u/KGPBharathi)\
**Post date:** [July 25, 2022, 7:28am UTC](https://discuss.codelibs.org/t/synonym-search-is-failing-with-default-fess-boolean-operator-and/1960/1 "2022-07-25T07:28:10Z")

</div>

Hi ,

I have a problem with synonym search . When i search for “uninstall AND mms” , synonyms for uninstall and mms are not part of search query . But the same synonyms search is working when we search for “uninstall OR mms”

Is there a way to acheive results for both synonym and boolean query together . This default boolean operator AND is being used in FESS internally hence synonym search is not working .

Below is the configuration which we used in our FESS system.  
“standard\_search\_analyzer”: {  
“filter”: [  
“disable\_graph”,  
“alphanum\_word\_filter”,  
“cjk\_bigram”,  
“lowercase”,  
“asciifolding”,  
“stopword\_en\_filter”,  
“english\_keywords”,  
“english\_override”,  
“stemmer\_en\_filter”,  
“synonym\_filter”  
],  
“char\_filter”: [  
“mapping\_filter”  
],  
“type”: “custom”,  
“tokenizer”: “standard”  
},

```
	"standard_analyzer": {
      "filter": [
        "disable_graph",
        "alphanum_word_filter",
        "cjk_bigram",
        "lowercase",
        "asciifolding",
        "stopword_en_filter",
        "english_keywords",
        "english_override",
        "stemmer_en_filter",
        "synonym"
      ],
      "char_filter": [
        "mapping_filter"
      ],
      "type": "custom",
      "tokenizer": "standard"
    },

```

Please suggest us the solution.
