[ckan-dev] Change the default ckan facet search
von Waldow, Harald
Harald.vonWaldow at eawag.ch
Wed Oct 23 11:22:00 UTC 2019
Hi Mani
If I understand correctly, you want to have a look at the SOLR search
syntax.
1. To find any dataset that has the field content_type, no matter its
value, search for "content_type:*"
3. Searching for the union of the packages for two or more
organizations works like so:
"organization:(decision-analysis OR stream-ecology)"
Making that more userfriendly, e.g. pimp the facet search UI so that
it allows users to combine searches with "OR", would be nice, and I'd
happily use it if someone implemented it :).
2. That's how I do it too. Hints for more elegance welcome.
Cheers,
Harald
On Wed, 2019-10-23 at 10:21 +0000, mane moshref wrote:
> Dear all,
>
> I have couple of questions regarding the search facet and extra
> fields.
>
> 1. Is it possible to index extra field and not extra value?
> I assume CKAN does not index the name/title of extra fields. for
> example I as a user add the field:"content type",
> Value:"monitoring". If I search 'monitoring' it retunrs the correct
> dataset, however if I search 'content type' nothing will return.
> So, is there any way to also search for the field name and not
> necessarily the value.
>
> 2. In my use case, users should be open to add up to 4 extra
> fields. And I need to add to facet search, one is the extra field
> names and the other their values. Is there any way to add
> automatically this into the facet? o I need definitely give the
> extra field name (similar to this)
>
> EUDAT-B2FIND/ckanext-b2findB2FIND extension for
> CKAN. Contribute to EUDAT-B2FIND/ckanext-b2find development by
> creating an account on GitHub.
>
> 3. The current behaviour of CKAN is, in the page
> /myckan.com/dataset, i am only able to search based on one
> organisation. I mean there is no possibility to search datasets
> based on multiple chosen organisations. Is it possible this
> behaviour and if yes, which part of the could should i change?
>
>
> Many thanks in advance
> Best regards
> Mani
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
--
Harald von Waldow
Eawag
ICT Services
Research Data Management
Ueberlandstrasse 133
8600 Duebendorf
http://www.eawag.ch
https://opendata.eawag.ch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20191023/685a3a29/attachment-0002.sig>
More information about the ckan-dev
mailing list