[ckan-dev] CSW harvesting update

William Waites ww at styx.org
Sun Feb 6 21:28:24 UTC 2011


So I think this has something to do with the new faceted
search stuff:

>>> from ckan import model
>>> model.sessionmaker()().query(model.Package).count()
38L
>>>

>>> from ckan.lib.search import query_for
>>> q = query_for(model.Package)
>>> q.run(query='*:*')
{'count': 0L, 'results': []}
>>>

Doing,

    curl http://localhost:5000/api/rest/package

gives a list of package identifiers as expected. but
pointing a web browser at

    http://localhost:5000/package

gives an empty page.

Anyone familiar with how the new search things are working
have any ideas?

James, are you around at the moment?

-w

-- 
William Waites                <mailto:ww at styx.org>
http://river.styx.org/ww/        <sip:ww at styx.org>
F4B3 39BF E775 CF42 0BAB  3DF0 BE40 A6DF B06F FD45




More information about the ckan-dev mailing list