We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
Add-ons
Search
Search
[Solved] SimpleSearch:Exclude Document Content from Search Query
463 Posts
Tyreal2012
Reply #1,
12 years, 4 months ago
As title, its a strange request but we need to exclude the docuemtn content from the search returns and only search on everything else.
Any ideas?
Thanks
[ed. note: Tyreal2012 last edited this post 12 years, 3 months ago.]
1,717 Posts
coroico
Reply #2,
12 years, 4 months ago
I think that no parameters of simpleSearch allow to define which fields use for the search.
If it is a mandatory request look at
AdvSearch
.
AdvSearch has a paremeter named withFields to define the fields to use for the search.
See:
http://rtfm.modx.com/display/ADDON/AdvSearch.AdvSearch