]> arthur.barton.de Git - netatalk.git/commit
Spotlight: new options for controlling query behaviour
authorRalph Boehme <rb@sernet.de>
Wed, 4 Jun 2014 14:36:58 +0000 (16:36 +0200)
committerRalph Boehme <rb@sernet.de>
Wed, 4 Jun 2014 14:36:58 +0000 (16:36 +0200)
commit371efee757ed56fd9e2f46b39fae625924d2cfc2
treee8ba80f5af1be8447748ef35f361faf09f9e64ef
parentfeb46544b3ca8dcb52f318d05f14ae7ba1b79ec8
Spotlight: new options for controlling query behaviour

Add three options that allow fine grainted control over the resulting
SPARQL queries:

"sparql results limit = NUMBER", default is unlimited
Useful for limiting the result set for very large systems

"spotlight attributes = STRING", useful for limiting queries to
attributes that are indexed, many are not.

"spotlight expr = BOOLEAN", default: yes, useful for disabling the use
of complex queries that will take too long to complete and hang Tracker.

Signed-off-by: Ralph Boehme <rb@sernet.de>
14 files changed:
NEWS
doc/manpages/man5/afp.conf.5.xml
etc/afpd/afp_dsi.c
etc/afpd/spotlight.c
etc/spotlight/slmod_sparql.c
etc/spotlight/slmod_sparql_map.c
etc/spotlight/slmod_sparql_map.h
etc/spotlight/slmod_sparql_parser.c
etc/spotlight/slmod_sparql_parser.h
etc/spotlight/slmod_sparql_parser.y
include/atalk/globals.h
include/atalk/spotlight.h
libatalk/util/netatalk_conf.c
man/man5/afp.conf.5.in