playframework / playframework/play-ebean

"docStore has type OBJECT rather than LIST" error when Elastic configuration is in application.conf

Open
#104 32 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug status:backlog
Dominant language
Java
Stars
111
Forks
67
Avg merge
1d 11h
Merged PRs (30d)
19

Description

Hi,

When I add these lines to application.conf :

ebean.docstore.url="http://127.0.0.1:9200"
ebean.docstore.active=true
ebean.docstore.generateMapping=false
ebean.docstore.dropCreate=false
ebean.docstore.create=false

I have the following error :
play/conf/application.conf: 26: docStore has type OBJECT rather than LIST

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the error with the five ebean.docstore settings in play/conf/application.conf, especially around line 26. Check how that configuration is parsed and determine why docStore is treated as an OBJECT rather than a LIST; done means the same settings load without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.