You are viewing limited content. For full access, please sign in.

Question

Question

Weblink Advanced Search

asked on August 15, 2024

I am trying to figure out how to run a text search across multiple templates using the advanced search syntax.

Here is the scenario:

Template Name: Council Meetings

Template Name: Council Meeting Minutes

Template Name: Resolutions and Ordinances

The search term is "bluff"
 

(bluff) & {[Council Meetings]} :

One template searches just fine but when I tried to add a second template it did not work.

(bluff) & {[Council Meetings]}|{[Council Meeting Minutes]

Custom  Search Portal:

https://ecms.newportbeachca.gov/web/CustomSearch.aspx?SearchName=CityCouncil

I included all three templates as a checkbox so that the user may do a text search for one or all three. But I can't seem to locate the appropriate syntax to make that logic work.

0 0

Replies

replied on August 16, 2024

You are missing the closing brace ("}") for the second template. If the search is meant to be 'the word "bluff" and one of these templates', you'd also need parentheses to group the template searches together.

 

(bluff) & ({[Council Meetings]}|{[Council Meeting Minutes]})

0 0
replied on August 16, 2024

That worked when doing the advanced search syntax in weblink portal.

 

Now I'm trying to add that feature to a custom search portal I can't seem to get the right combination.

created custom search portal... that will allow the user to select DocType being 1 or 3 choices.

1. Council Meetings

2. Council Meeting Minutes

3. Resolutions and Ordinances

looks like my results are not being filtered correctly.

https://ecms.newportbeachca.gov/web/CustomSearch.aspx?SearchName=CityCouncilDraft

search.png
search1.png
search.png (28.55 KB)
search1.png (60.56 KB)
0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.