Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (871 - 873 of 2152)

Ticket Resolution Summary Owner Reporter
#2359 fixed Investigate pycsw integration amercader amercader

Reported by amercader, 2 years ago.

Description

Tom Kralidis kindly told us on IRC [1] that the latest trunk of pycsw includes support for wsgi and different backends, which sounds like could be really useful for CKAN integration.

[1] http://irclogs.okfn.org/ckan/2012-04-25.txt 17:16

#273 fixed Investigate search index options and create tickets pudo rgrp

Reported by rgrp, 4 years ago.

Description

Work already here: http://knowledgeforge.net/ckan/trac/wiki/SearchEngine

Add knowledge there or to:

http://wiki.okfn.org/SoftwareTools/Search

#291 worksforme Investigate search options encoding rgrp dread

Reported by dread, 4 years ago.

Description

On ckan.net there is this unchecked-in 'temporary hack'. It seems to be to do with foreign characters in search options. See what its doing and if necessary, put check it in.

diff -r 813ad8b5de0b ckan/lib/search.py
--- a/ckan/lib/search.py	Mon Mar 01 22:23:36 2010 +0100
+++ b/ckan/lib/search.py	Thu Apr 15 19:11:42 2010 +0200
@@ -63,6 +63,9 @@
     def query(self, options):
         '''For the given search options, returns a query object.'''
         self._options = options
+        # temporary hack!
+        if self._options.q:
+            self._options.q = self._options.q.encode('utf8')
         general_terms, field_specific_terms = self._parse_query_string()
 
         if not general_terms and \

Note: See TracQuery for help on using queries.