Forum

Thread tagged as: Question

perch search - selective search

I haven't used search at all yet, and my only pre-knowledge is from looking at https://docs.grabaperch.com/docs/search/page-functions/

I wonder if it is possible to customize fields to be searched - e.g. with multi-language items in a "single-tree" set up (so from-path) would not be the right thing.

So in a template like this:

  <perch:content id="text-de" type="text" label="Text" html="false" required="true" title="true" />
  <perch:content id="text-en" type="text" label="Text" html="false" required="true" />

Define a search form to search only in fields with id "text-en" - or filter the output after the search.

If this isn't built in: can I build-hack it myself easily, or do you have plans on adding something like that in the near future, maybe in perch runway?

cheers Urs

Urs Bräm

Urs Bräm 1 points

  • 7 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

I don't think there's a good way to do that right now, but I think the stuff we have planned for Runway should make it fairly simple.

Thanks, I'm writing that Perch Runway driven site concept now :-)