[ckan-dev] wild card search works not as expected

Nigel Babu nigel.babu at okfn.org
Tue Jul 1 10:08:12 UTC 2014


I'm not the solr expert, but isn't * the wildcard character and not ?

Nigel Babu
Developer, Open Knowledge


On 1 July 2014 15:22, Heinrich Widmann <widmann at dkrz.de> wrote:

>  Thanks for the answer, Nigel.
> But I still don't understand the response from CKAN search.
> To be shure, I submit as well corresponding SOLR requests, and get the
> same curious results :
>
> title:europe in the CKAN UI search field or
>
> http://b2find.eudat.eu:8983/solr/select/?wt=json&indent=on&q=title:europe&wt=json&fl=id,name
> finds 126 datasets
>
> while
> title:europ? in the CKAN UI search field or
>
> http://b2find.eudat.eu:8983/solr/select/?wt=json&indent=on&q=title:europ?&wt=json&fl=id,name
> finds 31 datasets
> (e.g. title="europe" and ="europe central" are NOT found here !?)
>
> Maybe I misunderstand SOLR search with wildcards completely, but I would
> expect more (or at least equal) number of
> returned records for 'europ?' than for 'europe'.
>
> Thanks
> Heinrich
>
>
> Am 01/07/2014 03:10, schrieb Nigel Babu:
>
> Glad you got it working. Just adding a note for future: It follows Solr
> guidelines, I believe.
>
>  Nigel Babu
> Developer, Open Knowledge
>
>
> On 30 June 2014 18:43, Heinrich Widmann <widmann at dkrz.de> wrote:
>
>> Upps, a typo occured :-( ... :
>> Am 30/06/2014 15:04, schrieb Heinrich Widmann:
>>
>>  Hi,
>>> the field search in the CKAN2.2 GUI works not as expected in our portal
>>> b2find.eudat.eu :
>>>
>>> title:europe returns 116 datasets,
>>> but
>>> title:europ? finds only
>>>
>>  27 records !!!
>> sorry,
>> Heiner
>>
>>
>>  116 records,
>>> e.g. NOT the datasets 'europe' and 'europe central' ...
>>>
>>> Could somebody explain this behaviour ?
>>>
>>> By the way : is there a 'official' 'search help' for the CKAN GUI rsp.
>>> API ?
>>> Should be the same as for SOLR search, or ?
>>>
>>> Thanks,
>>> Heiner
>>>
>>>
>> --
>> -----------------------------\\---------------------------------------
>> Heinrich Widmann              \\ Deutsches Klimarechenzentrum GmbH
>> Phone: +49 40 460094 282       \\   Abteilung Datenmanagement
>> FAX:   +49 40 460094 270        \\    Bundesstr. 45a
>> Email: widmann at dkrz.de           \\   D-20146 Hamburg
>> http://www.dkrz.de                \\  Germany
>> -----------------------------------\\---------------------------------
>>
>> _______________________________________________
>> 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
>>
>
>
>
> _______________________________________________
> ckan-dev mailing listckan-dev at lists.okfn.orghttps://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
> --
> -----------------------------\\---------------------------------------
> Heinrich Widmann              \\ Deutsches Klimarechenzentrum GmbH
> Phone: +49 40 460094 282       \\   Abteilung Datenmanagement
> FAX:   +49 40 460094 270        \\    Bundesstr. 45a
> Email: widmann at dkrz.de           \\   D-20146 Hamburghttp://www.dkrz.de                \\  Germany
> -----------------------------------\\---------------------------------
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140701/4f7b8e83/attachment-0003.html>


More information about the ckan-dev mailing list