Forum Discussion
Exclude "modified" and "author" from Sharepoint search results
- Dec 20, 2023
Hello DominikA9522
you can add more conditions with OR in your query. As example:
((Title:{SearchTerms}) OR (Building:{SearchTerms}))
Best, Dave
Hello DominikA9522
you can try to use it with an exactly matching in title, or another field, with your search term. Here are an example search query template
{SearchBoxQuery} Title:{SearchTerms}
I have more then this two entries created with my David Account.
Best, Dave
- DominikA9522Dec 18, 2023Brass Contributor
Hi DaveMehr365
thank you very much for your response.
As additional information: at the moment our Query Text looks like that: {searchTerms} * ContentType:Phonebook
We created a new content type with some columns ( like Email, Phone numer, firstname, Building,... ). All of them should be searchable with the search text.
I added your suggestion and it works for the "Title" (Lastname) but how it's possible to search then for all other columns?
Hope you can point me to that.
Thank you very much.
Best regards
Dominik
- DaveMehr365Dec 20, 2023MVP
Hello DominikA9522
you can add more conditions with OR in your query. As example:
((Title:{SearchTerms}) OR (Building:{SearchTerms}))
Best, Dave