[ECODP-dev] SOLR questions

John Glover john.glover at okfn.org
Wed Oct 9 09:26:35 UTC 2013


Hi Bert,

Replies inline below.

> In which document we can find information about how we have implemented
SOLR in ODP? In the operation manual I don’t find nothing.

I'm not really sure what information is required here. Our Solr schema is
in the ckanext-ecportal extension [1], this contains the list of all fields
that are currently indexed (and how we have configured Solr to index them).
There is also some information  about the multilingual fields and the query
parser in the Operations Manual (p. 34). It seems like you would be the
best person to comment on the actual deployment aspects.

> Where we can find the configuration used in ODP : wildcard, Boolean
operators fuzzy search, range search, search by fields, …

We don't have any special Solr query parsing in CKAN, we basically pass
your query straight through to Solr, so this information is best obtained
from the Solr documentation [2][3]. More information about our search API
parameters is given in the docs [4].

> In which fields we can do a search,

These are listed in our Solr schema [1].

> Where we can find d the list of stop words? They are only in English?

We are not really using any stop words at the moment (the default
'protwords.txt' is used for English, but this is practically empty,
containing just two test examples).

> How to search with special character (+ - && || ! ( ) { } [ ] ^ " ~ * ? :
\)

Special characters will generally be stripped by our current Solr analyzers
at both index and query time, so currently you cannot search for these
characters.

[1]:
https://github.com/okfn/ckanext-ecportal/blob/master/ckanext/ecportal/solr/schema.xml
[2]: http://wiki.apache.org/solr/SolrQuerySyntax
[3]: http://wiki.apache.org/solr/DisMaxQParserPlugin
[4]:
http://docs.ckan.org/en/ckan-1.8.2/apiv3.html#ckan.logic.action.get.package_search


Regards,
John


On 8 October 2013 13:34, Bert Van Nuffelen
<bert.van.nuffelen at tenforce.com>wrote:

> Hi Darwin and John,
>
> here are some solr questions from Jose. Can you answer them:
>
>
>     - In which document we can find information about how we have
>    implemented SOLR in ODP? In the operation manual I don’t find nothing.
>    - Where we can find the configuration used in ODP : wildcard, Boolean
>    operators fuzzy search, range search, search by fields, …
>    - In which fields we can do a search,
>    - Where we can find d the list of stop words? They are only in English?
>    - How to search with special character (+ - && || ! ( ) { } [ ] ^ " ~
>    * ? : \)
>
> kind regards,
>
> Bert
>
>
> --
> 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/30bb8a14/attachment.html>


More information about the ecodp-dev mailing list