[searchlight] Elasticsearch 5 and latest support

Trinh Nguyen dangtrinhnt at gmail.com
Wed Dec 18 01:06:07 UTC 2019


Hi Mathieu.

Thanks for the effort. What you're saying is true. 5.x is EOL and may not
be worth fixing. Adding support for 6.x could be a better option.
Let me do some research on how to migrate data from 5.x to 6.x and let you
know.

Thanks,



On Wed, Dec 18, 2019 at 6:38 AM Mathieu Gagné <mgagne at calavera.ca> wrote:

> What would be the plan?
>
> 5.x is EOL. And 6.x introduces new concepts and remove some deprecated
> things from 5.x.
> I managed to make it (kind of) work with 5.x but then, I found out
> about some removed features in 6.x. (parent/child are now joins, one
> document type per index, etc.)
>
> There is also the migration path to consider. Should we tell people to
> start from scratch?
> I'm not sure how it would be possible to migrate existing data without
> reindexing everything. But I'm not an ES expert either.
>
> Mathieu
>
> On Tue, Dec 10, 2019 at 8:32 PM Trinh Nguyen <dangtrinhnt at gmail.com>
> wrote:
> >
> > Hi Mathieu,
> >
> > We just found a bug and I'm trying to fix it. We do have a plan to
> support a later version like 6.x or 7.x but It's become a little bit
> complicated when I just changed job a couple of months ago. If you or
> someone can give me a hand, it would be much appreciated.
> >
> > Bests,
> >
> > On Wed, Dec 11, 2019 at 3:35 AM Mathieu Gagné <mgagne at calavera.ca>
> wrote:
> >>
> >> Hi,
> >>
> >> I'm reading the documentation for Searchlight and it's recommending
> >> ElasticSearch 5.x:
> >>
> https://docs.openstack.org/searchlight/latest/install/elasticsearch.html
> >>
> >> I installed and tried to use Elasticsearch 5 and it doesn't work. The
> >> queries sent by Searchlight aren't accepted by Elasticsearch. For
> >> examples:
> >>
> >> When listing facets:
> >> TransportError(400, u'parsing_exception', u'[terms] failed to parse
> >> field [size]'): RequestError: TransportError(400,
> >> u'parsing_exception', u'[terms] failed to parse field [size]')
> >>
> >> When searching for images:
> >> No registered plugin for type owner: Exception: No registered plugin
> >> for type owner
> >>
> >> Is there any work in progress to add support for Elasticsearch 5?
> >> In fact, Elasticsearch 5 is EOL. Are there plans to support later
> versions?
> >>
> >> Thanks
> >>
> >> --
> >> Mathieu
> >>
> >
> >
> > --
> > Trinh Nguyen
> > www.edlab.xyz
> >
>


-- 
*Trinh Nguyen*
*www.edlab.xyz <https://www.edlab.xyz>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20191218/25aa1107/attachment.html>


More information about the openstack-discuss mailing list