Currently, given a user query I have a process that passes the query to multiple fields with different analyzers who each add boost the score in some way or another. If the words "AND" or "OR" show up in the query, then it's assumed that those words are part of the document the user is searching for.
I would also like to give users the option of using these boolean connectors if they want to. To me, that means I have run a check on the query string to see if the words "AND", or "OR" or "+/-", etc. are in the string, and if they are, pass the query to a QueryString query instead of the one I've created.
I wanted to ask the community if this is the best way or if there are better ideas than simply check the string for anything that could be a boolean connector.