Menu

#277 4.3.27 defaultSearchMethod==fulltext and typeahead

4.3.26
closed
nobody
None
bug
2017-02-28
2016-08-14
kaihowl
No

I noticed an undesirable behavior when activating defaultSearchMethod==fulltext. If there is no typeahead from the search field, hitting enter will run the correct search query with fullsearch=1. If there are some suggestions from typeahead, though, hitting enter will select the first, default item from the suggestions. This results in a standard database search then.

My inituitevily expected behavior would be to still run a fulltext search and only run the database search if I had selected a concrete suggestions from the typeahead drop-down.

Discussion

  • kaihowl

    kaihowl - 2016-08-14

    Milestone selected is 4.3.26 as there was no 4.3.27 available.

     
  • Uwe Steinmann

    Uwe Steinmann - 2017-02-28
    • status: open --> closed
     
  • Uwe Steinmann

    Uwe Steinmann - 2017-02-28

    I turned of typeahead for fulltext search in 4.3.34 and above. Typeahead will always search the database, so it makes no sense to use it for fulltext search

     

Log in to post a comment.

MongoDB Logo MongoDB