On Sat, Dec 8, 2012 at 7:58 AM, Alexey Kudinov <[email protected]> wrote:
> Hi,
>
> I'm new to stanbol (I do have some experience with SOLR), and a few things
> are not clear from the wiki:
>
> 1.       Can I integrate Stanbol EntityHub with an external SOLR instance?
>

Yes this is possible. The {name}.solrindex.zip files are compressed
Solr core directory structures. Just unpack them and install them on
you Solr server. If you want to start from an empty Site you can use
[1].

When the Solr Core is available on your Solr server you need to
configure the URL to the RESTful API in the "Solr Index/Core"
(org.apache.stanbol.entityhub.yard.solr.solrUri) field of the Solr
Yard.


[1] 
https://svn.apache.org/repos/asf/stanbol/trunk/entityhub/yard/solr/src/main/resources/solr/core/default.solrindex.zip


> 2.       My application should run in the enterprise environment, and my
> managed site requires user information, mainly for security purposes. I
> already have a fine-grained security module for SOLR (reflecting user
> repositories). How can I pass relevant user information through Stanbol
> EntityHub API? I know that I can pass-by the EntityHub and call Solr API,
> but it would be the last resort.
>

I do not fully understand this question. But maybe the "Multiple Yard
Layout" of the SolrYard could help you.

Basically the SolrYard supports the creation of multiple Instances
that do access the same Solr Core. To activate this you need to enable
the "Multiple Yard Layout"
(org.apache.stanbol.entityhub.yard.solr.multiYardIndexLayout). What
this does it that the SolrYard will add an additional field '_domain'
and store the name of the SolrYard as value for all Entities stored by
this SolrYard. Also all queries will use this as an additional
constraint.

This feature was introduced to allow the storage of multiple
(typically small) vocabularies within the same Solr Core but maybe it
could be also useful for your usecase.

best
Rupert

> Thanks,
>
> Alexey
>



--
| Rupert Westenthaler             [email protected]
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to