I do not know if it is possible to check the values of an info page
with boolean search like
"return all keys on page info.example with values of x and y and not
z"

If not I like to suggest something like this.

This could be done by taking some ideas or parts of the search script.
The search script basically contains these steps:
- build the index
- search the index (boolean functions)
- return page values

Info search would have
- open some page with key: value1 value2 value3
- search the values (boolean functions)
- return key

like
[(search target="info.tags" info="tag1&&tag2" template="[[{info.tags::
{+p}}]] )]

I messed around with a custom function and got tag1||tag2 nearly
working with regex, but had no success with array_intersect to get &&
working.

So it could be nice to split the search script into three parts:
- specify a page where search should look on (index, info, whatever)
- if index return pages, if info return keys, if something else
specify that format
- using one set of boolean search functions

since info is basically the same as index - it is an actively managed
index file.

Greetings, Martin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to