[ECODP-dev] CKAN wild character for search

John Glover john.glover at okfn.org
Wed Oct 9 09:56:48 UTC 2013


Hi Bert,

Yes, the poverty vs poverties example will be covered by the stemming in
Solr.

In general, wildcard searches are not supported as we use the dismax query
parser[1].

However, if you search for a specific field by entering something like
"title: pov*" (without the quotes), it will actually be possible. This is
because if we detect a ":" character in the query, we fall back to using
the default query parser which does support wildcards. But yes, it does not
support wildcards at the start of terms.

[1]: http://wiki.apache.org/solr/DisMaxQParserPlugin

Regards,
John


On 3 October 2013 16:38, Bert Van Nuffelen
<bert.van.nuffelen at tenforce.com>wrote:

> Hi John,
>
> It seems I forgot you to include in this conversation.
> Can you have a look at it?
>
> kind regards,
>
> Bert
>
>
> 2013/10/3 Bert Van Nuffelen <bert.van.nuffelen at tenforce.com>
>
>> Hi José,
>>
>> This should be captured by the stemming in the solr component I assume.
>> So poverty should return poverties, unless you search for "poverty" (the
>> exacty string).
>>
>> @John, can you confirm this?
>>
>> kind regards,
>>
>> Bert
>>
>>
>>
>>
>>
>> 2013/10/3 PASTOR CAMARASA José Juan (OP) <
>> Jose.PASTOR-CAMARASA at publications.europa.eu>
>>
>>   Hi Bert,
>>> To do a search in CKAN what is the wild character to do search?
>>> For example if I find about "poverty" or "poverties", what is the search
>>> wildcard we would use? I've tried with classical wildcards: pover%, pover?,
>>> pover* and I don't have reply.
>>> And I presume we don't have lefty wild card?
>>>
>>>
>>> Très cordialement / Best regards
>>> José Pastor
>>>
>>>
>>>
>>
>>
>>
>> --
>> Bert Van Nuffelen
>>
>> Semantic Technologies Software Architect at TenForce
>> www.tenforce.be
>>
>> Bert.Van.Nuffelen at tenforce.com
>> Office: +32 (0)16 31 48 60
>> Mobile:+32 479 06 24 26
>> skype: bert.van.nuffelen
>>
>
>
>
> --
> Bert Van Nuffelen
>
> Semantic Technologies Software Architect at TenForce
> www.tenforce.be
>
> Bert.Van.Nuffelen at tenforce.com
> Office: +32 (0)16 31 48 60
> Mobile:+32 479 06 24 26
> skype: bert.van.nuffelen
>
> _______________________________________________
> Ecodp-dev mailing list
> Ecodp-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20131009/9b1b5ce5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ATT89379 1.jpg
Type: image/jpeg
Size: 631 bytes
Desc: not available
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20131009/9b1b5ce5/attachment.jpg>


More information about the ecodp-dev mailing list