Re: [web-annotation] Support for search

Hi all,

I'm working on implementing a serch api based on lucene/solr 
(http://lucene.apache.org/solr/) which is a kind of de facto standard 
for text/metadata search. 

1. I think it is important to take a look at solr query syntax, 
advance search functionality (like: faceted search, query filtering, 
query correction suggestions, etc.) and the solr admin functionality 
in order to gather proper requirements for the  Search Annotations 
API.

2. There are two (or more) types of search scenarios that I would 
expect to be supported by the search API:
a) free text search .. ( i.e. like basic google search)
b) metadata based search (i.e. like amazon search  
http://www.amazon.com/s/ref=sr_nr_p_n_shipping_option-_0?fst=as%3Aoff&rh=n%3A283155%2Cn%3A17%2Ck%3Aannotations%2Cp_n_feature_twelve_browse-bin%3A10159408011%2Cp_n_feature_nine_browse-bin%3A3291437011%2Cp_n_shipping_option-bin%3A3242350011&keywords=annotations&ie=UTF8&qid=1451924254&rnid=2944662011
 )

3) If it is about the design of the API interface, I find the freebase
 MQL to be the easiest to use, json based, query language 
https://developers.google.com/freebase/v1/mql-overview?hl=en 
. unfortunately ... the freebase development was discontinued through 
wikidata project and the MQL interface is not accessible anymore ...  
Still, I find very good the idea of using Json input and Json output, 
where the properties of the query language are the same as those of 
the model .. 

Br, 
Sergiu

-- 
GitHub Notification of comment by gsergiu
Please view or discuss this issue at 
https://github.com/w3c/web-annotation/issues/48#issuecomment-168723726
 using your GitHub account

Received on Monday, 4 January 2016 16:26:29 UTC