I've found a way. So, just for the record, and to answer my own question, 
we can search in values of a specified index of a data tiddler by simply 
performing a full text search using a search term that's made up by the 
value being queried and the index that can be defined as a macro 
substitute, like here:

[search:text[skill: $(skill_level)$]]

having defined:

<$set name=skill_level value=advanced>
...
</$set>

This of course has limitations (possible false positives depending on a way 
the queried dataset is structured) but that's the only way I've found.

Still, looking forward to better solutions. Thanks!


On Monday, 26 March 2018 17:05:44 UTC+1, hubertgk wrote:
>
> Hi,
>
> I know we're able to *search* within tiddler *fields *as explained in the 
> documentation 
> <https://tiddlywiki.com/static/search%2520Operator%2520(Examples).html> 
> -- for example, the below syntax...
>
> [search:caption[arch]]
>
> ...will return all tiddlers containing the search term arch in their 
> caption field.
>
> I was wondering if tiddlywiki allows searching, in a similar fashion, in 
> the *indexes* of a data tiddler as well? In many scenarios, tiddlywiki 
> treats fields and indexes in a similar way, however, the above syntax does 
> not seem to work for indexes (I know search can be case-sensitive, but 
> still I had no luck).
>
> I was wondering if anyone has been able to build a list filter that could 
> return all tiddlers containing a given search term as the value in a 
> specified index? What would be the syntax, if the one above does not work?
>
> In the ideal world,
>
> [search:skill[advanced]]
>
> ...would return all (data) tiddlers with the value 'advanced' under the 
> index 'skill'. Unfortunately, no luck.
>
> I'd be extremely grateful for any help :-)
>
> Thanks!
>
>
>
>
>
>
>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/67deb1e8-2d8d-4d03-817b-c9fd56fc6712%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to