← Back to team overview

mahara-contributors team mailing list archive

[Bug 1734006] [NEW] Error indexing to elasticsearch 6.0.0

 

Public bug reported:

When trying to index to elasticsearch version 6.0.0

I get this error

[WAR] 84 (lib/errors.php:536)
[Elasticsearch\\Common\\Exceptions\\BadRequest400Exception]:
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Could
not convert [mainfacetterm.index] to
boolean"}],"type":"illegal_argument_exception","reason":"Could not
convert [mainfacetterm.index] to
boolean","caused_by":{"type":"illegal_argument_exception","reason":"Failed
to parse value [not_analyzed] as only [true] or [false] are
allowed."}},"status":400}, referer: http://mahara-
devel/admin/site/options.php?fs=searchsettings

The error is due to this:
https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html

** Affects: mahara
     Importance: Medium
     Assignee: Robert Lyon (robertl-9)
         Status: In Progress

** Changed in: mahara
   Importance: Undecided => Medium

** Changed in: mahara
    Milestone: None => 18.04.0

** Changed in: mahara
       Status: New => In Progress

** Changed in: mahara
     Assignee: (unassigned) => Robert Lyon (robertl-9)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1734006

Title:
  Error indexing to elasticsearch 6.0.0

Status in Mahara:
  In Progress

Bug description:
  When trying to index to elasticsearch version 6.0.0

  I get this error

  [WAR] 84 (lib/errors.php:536)
  [Elasticsearch\\Common\\Exceptions\\BadRequest400Exception]:
  {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Could
  not convert [mainfacetterm.index] to
  boolean"}],"type":"illegal_argument_exception","reason":"Could not
  convert [mainfacetterm.index] to
  boolean","caused_by":{"type":"illegal_argument_exception","reason":"Failed
  to parse value [not_analyzed] as only [true] or [false] are
  allowed."}},"status":400}, referer: http://mahara-
  devel/admin/site/options.php?fs=searchsettings

  The error is due to this:
  https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1734006/+subscriptions


Follow ups