I must say I already asked for help to set up the search results some months ago, but then the project got delayed and only now I am back to it.
I am testing the search function I implemented, and noticed it only works if you put in the search bar words that are part of the title of a page. What I’d like to implement, is to have the search function to scan the whole page and give back results based on all the fields part of a page.
To do that, I took out the second argument in the search function, eg
Can you give me an example of a search word that does not give you any results? And which pages that search word should reveal as a result and why? I.e. where the information is in your content file and in what sort of context?
Title: Artwork #12
----
Text: blabaha
----
Author: Edoardo Belli
----
Size: 33 x 24 cm
----
T: Arte astratta
----
Year: 2012
----
Bio: ALKAlakalaklakalakalakalaka
----
Location: XXXXXX
and
fields:
title:
label: Titolo
type: text
author:
label: Autore
type: select
options: query
query:
page: ../../autore
fetch: children
value: '{{title}}'
year:
label: Anno
type: text
width: 1/2
size:
label: Dimensioni
type: text
width: 1/2
t:
label: Tecnica
type: tags
location:
label: Luogo
type: select
options: query
query:
page: luoghi
fetch: grandchildren
value: '{{title}}'
I can look up for 2012, Arta Astratta, Edoardo and get no result back. If I type Artwork I get all the list of pages containing Artwork in their title.
The repo still has the restriction to the title and text fields, are you sure you have changed the online version? I can’t make tests with the repo cause no content.