Add external Elasticsearch into fess

(from github.com/goldenivan)
Hi,

I have some website which have an elasticsearch base. They are indexing all content into it. They are using SAML to authenticate user. So, fess cannot crawl those websites. But, they already have an elasticsearch base with all content indexed.

I would like to ask Fess to add an external elasticsearch into the fess configuration.

  1. Is it possible to do that with Fess ?

  2. Is there any limitation ? Do we need to have the same elasticsearch version ? Is there a specific indexing scheme / data model ?

  3. Is it possible to choose where to display those data using virtualhosts ?

(from marevol (Shinsuke Sugaya) · GitHub)

Is it possible to do that with Fess ?

Yes. You need to import data into Fess index.

Is there any limitation ? Do we need to have the same elasticsearch version ? Is there a specific indexing scheme / data model ?

Fess version depends on Elasticsearch version. See Installatin Guide.
An index mapping for Fess is mapping.json.

To import data into Fess, it’s better to use EsDataStore in Data Store Crawling.
The sample script which creates test data is esdatastore.sh.

Is it possible to choose where to display those data using virtualhosts ?

Yes, if data is in Fess index.

(from marevol (Shinsuke Sugaya) · GitHub)

An index mapping for Fess is mapping.json.

The mapping is doc.json, not mapping.txt…