Skip to content
This repository has been archived by the owner on Dec 18, 2021. It is now read-only.

Can't store langdetect field ? #68

Open
adrianlungu opened this issue May 30, 2017 · 1 comment
Open

Can't store langdetect field ? #68

adrianlungu opened this issue May 30, 2017 · 1 comment

Comments

@adrianlungu
Copy link

Hello,

I've tried using the Language code and multi_field test code to create the mapping in the example, however, when I check to see if the mapping is created correctly, I always get the following:

{
   "test": {
      "mappings": {
         "docs": {
            "properties": {
               "text": {
                  "type": "langdetect",
                  "store": false,
                  "analyzer": "_keyword",
                  "include_in_all": false,
                  "languages": [
                     "en",
                     "de",
                     "fr"
                  ]
               }
            }
         }
      }
   }
}

Shouldn't store be set to true in this case ?

I've also tried updating the mapping but store is never set to true thus I cannot retrieve the result of langdetect alongside the source of the documents.

I'm using ES 5.4.0 at the moment. Should I try with an earlier version ?

Thanks!

@jprante
Copy link
Owner

jprante commented May 30, 2017

Thank you. There was a bug which is now fixed in version 5.4.0.1:

8ad05fd

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants