Custom Query (2152 matches)
Results (31 - 33 of 2152)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#1516 | fixed | Update SOLR schema after 1.5.1 release and set up multicore SOLR instances if needed | amercader | amercader |
Description |
CKAN 1.5.1 will introduce changes in the SOLR schema and functions to support multiple schema versions. Unfortunately the changes in the schema will be backwards incompatible so either both CKAN and SOLR are upgraded, or SOLR is configured as multicore, with one core for each schema. The solr cores would look like: http://<solr-server>/solr/schema-<version> Different scenarios:
These are the SOLR and CKAN instances that need to be updated (Please add any missing ones):
TODO: which SOLR server are using these instances?
|
|||
#1540 | fixed | Search API returns an error if empty parameters are provided | amercader | amercader |
Description |
Both in 1.5.1b: http://thedatahub.org/api/search/dataset?groups=lodcloud&title= and 1.5.2a (current master): http://test.ckan.net/api/search/dataset?groups=lodcloud&title= Although the error message in 1.5.2a is more verbose: "Bad request - Bad search option: HTTP code=400, reason=org.apache.lucene.queryParser.ParseException?: Cannot parse 'groups:lodcloud title:': Encountered \"<EOF>\" at line 1, column 22. Was expecting one of: \"(\" ... \"*\" ... <QUOTED> ... <TERM> ... <PREFIXTERM> ... <WILDTERM> ... \"[\" ... \"{\" ... <NUMBER> ..." Some parameter validation before sending it to Solr should do the trick |
|||
#1547 | fixed | Add search methods (before and after) to the IPackageController interface | amercader | amercader |
Description |
Time estimate: 1d Add a two search method to the IPackageController interface so extensions can:
def before_search(search_params): return search_params
def after_search(search_results, search_params): return search_results Please see this pad for implementation details: |