schemata: Disambiguate non-terminal names

Previously, the show schema and the search schema used different
"thread" non-terminals.  While these schemata don't interact, this is
still confusing, so rename search's "thread" to "thread_summary".  To
further limit confusion, prefix all top-level search non-terminals now
begin with "search_".
This commit is contained in:
Austin Clements 2013-10-24 11:19:01 -04:00 committed by David Bremner
parent 85e95c0844
commit ec630c6635

View file

@ -122,21 +122,21 @@ notmuch search schema
--------------------- ---------------------
# --output=summary # --output=summary
summary = [thread*] search_summary = [thread_summary*]
# --output=threads # --output=threads
threads = [threadid*] search_threads = [threadid*]
# --output=messages # --output=messages
messages = [messageid*] search_messages = [messageid*]
# --output=files # --output=files
files = [string*] search_files = [string*]
# --output=tags # --output=tags
tags = [string*] search_tags = [string*]
thread = { thread_summary = {
thread: threadid, thread: threadid,
timestamp: unix_time, timestamp: unix_time,
date_relative: string, # user-friendly timestamp date_relative: string, # user-friendly timestamp