[Flow] Problems with elasticsearch-2.0.0

Robin Mansholt mansholt.robin at web.de
Sun Nov 1 11:14:42 CET 2015


Hello,

i want to update our elasticSearch from 1.6.2 to 2.0.0. But with the version 2.0.0 we got serval problems.
If i try to execute following command:

/flow nodeindex:build

i got the following error:
Uncaught Exception: TYPO3\Flow\Error\Exception

Message
  Notice: Array to string conversion in
  public_html/Packages/Application/Flowpack.ElasticSearch/Classes/Flowpack/ElasticSearch/Transfer/Exception.php
  line 39

The elasticsearch log has the following informations:
java.lang.IllegalArgumentException: Mapper for [__fulltext.name] conflicts with existing mapping in other types:
[mapper [__fulltext.name] is used by multiple types. Set update_all_types to true to update [boost] across all types.]

here is a little snippet of my nodeTypes.yaml. I think the problem is located below
'__fulltext':
      search:
        indexing: ''
        elasticSearchMapping:
          type: object
          properties:
            'name':
              type: string
              include_in_all: true
              boost: 4
            'content':
              type: string
              include_in_all: true
              boost: 3
            'user':
              type: string
              include_in_all: true
              boost: 2
            'date':
              type: string
              include_in_all: true
              boost: 1

Does anyone know this problems? Is it essential to update our elasticsearch version? Or should we use our old version?
thanks for help 
regards





More information about the Flow mailing list