On 27.10.2014 12:42, Christian Weiske wrote:
> Hi,
> 
> 
> My app hooks into owncloud's search. I want to support search operators
> like quotes and minus (to exclude results that contain the text).
> 
> Does ownCloud ship such a query parser?
No, not yet. There is a design forward for how we want search to behave.
Maybe you should put your suggestion there:
https://github.com/owncloud/core/issues/821

> E.g. I'd like to be able to search for
>> foo "bar baz" -ding
> to find documents that contain "foo" and "bar baz" but not "ding".
You might have a look at the search_lucene app, which uses the lucene
query parser which is quite powerful:
http://framework.zend.com/manual/1.12/de/zend.search.lucene.query-language.html

hope this helps

Jörn

-- 
Jörn Friedrich Dreyer ([email protected])
Senior Software Engineer
ownCloud GmbH

Your Data, Your Cloud, Your Way!

ownCloud GmbH, GF: Markus Rex, Holger Dyroff, Frank Karlitschek
Schloßäckerstrasse 26a, 90443 Nürnberg, HRB 28050 (AG Nürnberg)
_______________________________________________
Devel mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/devel

Reply via email to