Category Archives: Prompt search

Change the default behavior in prompt search

Hello there!

Here is a tip of a great friend called Rafael Gourlart.

By default, a space between words in a prompt search is interpreted as a logical ‘OR’ in MicroStrategy Web. This behavior be changed to use ‘AND’ instead.

For example, if you are trying to search for “FelipeVilela” a possible result would be:

pic2

Now, if you change to “And”:

pic3

 

To change from “OR” to “AND” you just have to:

1.In the FilterValidation.properties file under WEB-INF\classes\resources, set the elementSearchBehavior parameter to ‘2’, and restart the MicroStrategy Web.

pic1

That’s it.

 

Hope it helps.

God bless you.