← Back to team overview

mahara-contributors team mailing list archive

[Bug 1408577] Re: Elasticsearch not working properly

 

Hi Sherry,

No, we haven't set up any specific system settings for Elasticsearch.

It's interesting that you mention it fails when you're searching for
things in Chinese, though. On one of our client sites we've recently
noticed a problem when Elasticsearch is trying to index student data
that contains unusual Unicode characters. We still haven't figured out
the exact cause. The Elasticsearch software itself supports these
characters, and the Elastica library should support them, but for some
reason it errors out.

Do you have any specific error messages from Elasticsearch in your
Apache error logs?

Cheers,
Aaron

** Tags added: elasticsearch

** Changed in: mahara
       Status: New => Confirmed

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

** Summary changed:

- Elasticsearch not working properly
+ Elasticsearch not working properly with Chinese characters

** Changed in: mahara
     Assignee: (unassigned) => Son Nguyen (ngson2000)

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

-- 
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/1408577

Title:
  Elasticsearch not working properly with Chinese characters

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  1. Search box in the top-right corner (the search box below the Settings) return no result.
  2. Search box in the Pages can only locate the name of the pages (not searching content of the page).

  Detail Information of server:
  =======================
  Elasticsearch server is running:
  {
    "cluster_name" : "elasticsearch",
    "status" : "green",
    "timed_out" : false,
    "number_of_nodes" : 1,
    "number_of_data_nodes" : 1,
    "active_primary_shards" : 1,
    "active_shards" : 1,
    "relocating_shards" : 0,
    "initializing_shards" : 0,
    "unassigned_shards" : 0
  }

  The Elasticsearch plugin is currently active. 
  Host: 127.0.0.1
  Elasticsearch port: 9200
  Auth username: (not set)
  Auth password: (not set)
  Index name: mahara
  Bypass index: (not set)
  Elasticsearch analyzer: mahara_analyze
  lasticsearch types: usr,interaction_instance,interaction_forum_post,group,view,artefact
  Cron record limit: 0
  Artefact types: Select all

  Number of records of each type currently in the queue:
  usr	(1)
  interaction_instance	(0)
  interaction_forum_post	(0)
  group	(0)
  view	(0)
  artefact	(0)



  
  - Mahara 1.10.1
  - Ubuntu Linux 14.04.1
  - Postgres database (version 9.3.5)
  - Chrome Version 39.0.2171.95 m, Firefox 33.0.2, I.E. 11

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


References