Quantcast
Channel: Active questions tagged mongodb-atlas - Stack Overflow
Viewing all articles
Browse latest Browse all 271

Atlas Search C# patterns for building search query dynamically

$
0
0

I’m working on an application which has ONE search input value (one search text box) and it should be able to perform the following type of searches.

  • Normal text search
  • Phrase search
  • Logical AND/OR
  • Miss spelled words
  • Wildcard search

The search logic will be developed in C#. My questions are:

  1. What’s a good pattern/practice to use to design/model a class that will be able to dynamically build the search query on the fly based on the type of search being performed. Any simple example would be appreciated.

  2. What's the best method to differentiate between the type of searched being performed by the user


Viewing all articles
Browse latest Browse all 271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>