playframework / playframework/play-ebean
"docStore has type OBJECT rather than LIST" error when Elastic configuration is in application.conf
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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