1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Elasticsearch 1.4.0 has been released

Discussion in 'Enhanced Search Support' started by Andy.N, Nov 12, 2014.

  1. Andy.N

    Andy.N Well-Known Member

    http://www.elasticsearch.org/overview/elkdownloads/
    breaking changes
    • Plugins:
      • Don’t overwrite plugin configuration when removing/upgrading plugins #7890 (issue: #5064)
    new features
    • Aggregations:
      • Return the sum of the doc counts of other buckets in terms aggregations. #8213
    • Cat API:
      • show open and closed indices in _cat/indices #7936 (issue: #7907)
    • Circuit Breakers:
      • Allow setting individual breakers to “noop” breakers #8135
      • Add NoopCircuitBreaker used in NoneCircuitBreakerService #8063
    • Upgrade API:
      • Add API to upgrade old Lucene indices to the latest version #7922 (issue: #7884)
    enhancements
    • Circuit Breakers:
      • Log if CircuitBreaker is tripping #8050
    • Deprecation:
    • Discovery:
      • Improve handling of multicast binding exceptions #8243 (issue: #8225)
      • Simplify discovery node initialization if version is unknown #8055 (issue: #8051)
      • Remove MasterFaultDetection.Listener.notListedOnMaster #7995
      • Only accept unicast pings when started #7950
      • Add a finalize round to multicast pinging #7924
    • FunctionScore:
      • RandomScoreFunction now accepts long, as well a strings. #8311 (issue: #8267)
    • Indexing:
      • Raise maximum index name length to 255 bytes #8158 (issue: #8079)
    • Internal:
      • Use a 1024 byte minimum weight for filter cache entries #8304 (issues: #8249, #8268)
      • Make indexQueryParserService available from ParseContext #8252 (issue: #8248)
      • Allow to configure custom thread pools #8247
      • Expose concurrency_level setting on all caches #8112 (issue: #7836)
      • Don’t let took be negative. #7968
      • Upgrade to Jackson 2.4.2 #7934 (issue: #7932)
      • Clarify when a shard search request gets created to be only used locally #7855
      • Force execution of delete index requests #7799
      • Refactor the Translog.read(Location) method #7780
      • Nest original exception while creating NoShardAvailableActionException #7757 (issue: #7756)
    • Java API:
      • Enabled overriding the request headers in the clients #8258
    • Logs:
      • Change log level for mpercolate #8306
    • MLT Query:
      • Support for when all fields are deprecated #8067
    • Netty:
      • Support binding on multiple host/port pair #8098
    • Packaging:
      • Introduce elasticsearch.in.bat (i.e. es.in for Windows) #8244 (issue: #8237)
      • Use the new command line syntax in the init script #5033
    • Parent/child:
      • Reduce memory usage in top children query #8165 (issue: #8160)
    • Percolator:
      • Added missing percolate API parameters to the rest spec #7173 (issue: #3380)
    • Query DSL:
      • Throw parsing exception if terms filter or query has more than one field #5137 (issue: #5014)
    • Resiliency:
      • Be more conservative if index.version.created is not set #8018
      • Perform write consistency check just before writing on the primary shard #7873
    • Search:
      • Reduce memory usage during fetch source sub phase #8138
    • Settings:
      • Validates bool values in yaml for node settings #8186 (issue: #8097)
    • Snapshot/Restore:
    • Stats :
      • Add time in index throttle to stats. #7896 (issue: #7861)
     
    Baron, Alfa1, AlexT and 1 other person like this.
  2. RoldanLT

    RoldanLT Well-Known Member

  3. Ernest L. Defoe

    Ernest L. Defoe Well-Known Member

    Already updated even before I saw this post.
     
  4. Andy.N

    Andy.N Well-Known Member

  5. RoldanLT

    RoldanLT Well-Known Member

    New configs, from Diff report:
     
  6. Andy.N

    Andy.N Well-Known Member

    They are all commented out. Are they used or what values we use?
     
  7. Karelke

    Karelke Active Member

    Upgraded to 1.4 last week, works perfectly with XenForo.
     
  8. RoldanLT

    RoldanLT Well-Known Member

    Without ES my MYSQL server will suffer with all of these queries :)
    upload_2014-11-28_22-6-24.png
     
  9. Andy.N

    Andy.N Well-Known Member

    How come my fetches are less than my searches stats
    Screen Shot 2014-11-28 at 9.29.11 AM.png
     
  10. RoldanLT

    RoldanLT Well-Known Member

  11. markku

    markku Well-Known Member

    Mine are too... Is that abnormal? Did you find a fix?

    I guess it doesn't matter as the search seems to work fine...

    Screen Shot 2015-01-10 at 18.38.05.png
     
  12. RoldanLT

    RoldanLT Well-Known Member

    Always the same on mine:

    Version: 1.4.2
    Documents: 764,389 (231.7 MB)
    Index Updates: 37,015 (0.0012 seconds average)
    Searches: 1,346,783 (0.0039 seconds average)
    Fetches: 1,346,783 (0.0001 seconds average)
     
  13. Brogan

    Brogan XenForo Moderator Staff Member

    If no results are found, the 'Searches' will update, the 'Fetches' will not (as nothing was fetched).
     
    RoldanLT, Daniel Hood and markku like this.
  14. RoldanLT

    RoldanLT Well-Known Member

    How come mine is always the same?
     
  15. Andy.N

    Andy.N Well-Known Member

    You got a problem. Maybe some of your config.xml settings
     
  16. RoldanLT

    RoldanLT Well-Known Member

    Here's my config:
    Code:
    # ElasticSearch Configuration Settings
    
    # Start PHCorner Config
    cluster.name: myclustersearch
    network.host: 127.0.0.1
    http.port: 9200
    index.number_of_shards: 1
    index.number_of_replicas: 0
    # End PHCorner Config
    
    
    # Cluster Name
    # Identifies the cluster for auto-discovery, using unique names.
    # The default is elasticsearch.
    #cluster.name: elasticsearch
    
    # Node Name
    # Sets a specific node name.
    # The default is generated dynamically on startup.
    #node.name: "Franz Kafka"
    
    # Node Master
    # Allows node to be eligible as a master node.
    # The default is true.
    #node.master: true
    
    # Node Data
    # Allows node to store data.
    # The default is true.
    #node.data: true
    
    # Node Storage
    # By default, multiple nodes are allowed to start from the same installation
    # location. To disable it, set max_local_storage_nodes to 1.
    #node.max_local_storage_nodes: 1
    
    # Mandatory Plugins
    # If a plugin listed below is not installed, the node will not start.
    #plugin.mandatory: mapper-attachments,lang-groovy
    
    # Memory Lock
    # Locks the allocated memory.
    # The default is true.
    #bootstrap.mlockall: true
    
    # Network Host
    # Sets both 'bind_host' and 'publish_host' settings.
    # The default is any (0.0.0.0).
    #network.host: 127.0.0.1
    
    # Network Bind Host
    # Sets the bind address specifically (IPv4 or IPv6).
    #network.bind_host: 127.0.0.1
    
    # Network Published Host
    # Sets the address other nodes will use to communicate with this node. If not
    # set, it is automatically derived. It must point to an actual IP address.
    #network.publish_host: 127.0.0.1
    
    # Transport TCP Port
    # Sets a custom port for node to node communication.
    # The default us 9300.
    #transport.tcp.port: 9300
    
    # Transport Compression
    # Enables compression for all communication between nodes.
    # The default is false.
    #transport.tcp.compress: false
    
    # HTTP Enabled
    # The default is true.
    #http.enabled: true
    
    # HTTP Port
    # Sets the port to listen for HTTP traffic.
    # The default is 9200.
    #http.port: 9200
    
    # HTTP Maximum Content Lenght
    # Sets the maximum allowed content length.
    # The default is unlimited.
    #http.max_content_length: 100mb
    
    # HTTP JSONP Transport Enabled
    # Enables JSONP as valid return transport on the http server. If enabled,
    # it might pose a security risk.
    # The default is false.
    #http.jsonp.enable: false
    
    # Gateway Type
    # The default is local.
    #gateway.type: local
    
    # Gateway Nodes
    # Sets how many nodes are expected in this cluster. Once the N nodes are up
    # and 'recover_after_nodes' is met, it begins recovery process immediately
    # without waiting for 'recover_after_time' to expire.
    #gateway.expected_nodes: 1
    
    # Gateway Recovery Nodes
    # Allows recovery process after N cluster nodes are up.
    # The default is 1.
    #gateway.recover_after_nodes: 1
    
    # Gateway Recovery Timeout
    # Sets the timeout to initiate the recovery process, once the N nodes
    # from 'recover_after_nodes' setting are up.
    # The default is 5 minutes.
    #gateway.recover_after_time: 5m
    
    # Index Concurent Streams
    # Sets the number of concurrent streams when recovering a shard from a peer.
    # The default is 5.
    #indices.recovery.concurrent_streams: 5
    
    # Multicast Discovery Enabled
    # The default is true.
    #discovery.zen.ping.multicast.enabled: true
    
    # Discovery Master Nodes
    # List of master nodes in the cluster to perform discovery when new nodes
    # (master or data) are started.
    #discovery.zen.ping.unicast.hosts: ["host1", "host2:port"]
    
    # Discovery Minimum Master Nodes
    # Ensures a node sees N other master eligible nodes to be considered
    # operational within the cluster. It is recommended to set it to a higher value
    # than 1, when running more than 2 nodes in the cluster.
    # The default is 1.
    #discovery.zen.minimum_master_nodes: 1
    
    # Discovery Ping Timeout
    # Sets the time to wait for ping responses from other nodes when discovering.
    # The default is 3 seconds.
    #discovery.zen.ping.timeout: 3s
    
    # Index Shards
    # Sets the number of shards (splits) of an index.
    # The default is 5.
    #index.number_of_shards: 5
    
    # Index Replicas
    # Set the number of replicas (additional copies) of an index.
    # The default is 1.
    #index.number_of_replicas: 1
    
    # Index Slow Logs
    # Shard level query and fetch threshold logging.
    #index.search.slowlog.threshold.query.warn: 10s
    #index.search.slowlog.threshold.query.info: 5s
    #index.search.slowlog.threshold.query.debug: 2s
    #index.search.slowlog.threshold.query.trace: 500ms
    #index.search.slowlog.threshold.fetch.warn: 1s
    #index.search.slowlog.threshold.fetch.info: 800ms
    #index.search.slowlog.threshold.fetch.debug: 500ms
    #index.search.slowlog.threshold.fetch.trace: 200ms
    #index.indexing.slowlog.threshold.index.warn: 10s
    #index.indexing.slowlog.threshold.index.info: 5s
    #index.indexing.slowlog.threshold.index.debug: 2s
    #index.indexing.slowlog.threshold.index.trace: 500ms
    
    # GC Logs
    #monitor.jvm.gc.ParNew.warn: 1000ms
    #monitor.jvm.gc.ParNew.info: 700ms
    #monitor.jvm.gc.ParNew.debug: 400ms
    #monitor.jvm.gc.ConcurrentMarkSweep.warn: 10s
    #monitor.jvm.gc.ConcurrentMarkSweep.info: 5s
    #monitor.jvm.gc.ConcurrentMarkSweep.debug: 2s
    
    # Default Scripting Language
    # The default is groovy.
    #script.default_lang: groovy
    
    # Dynamic Scripting
    # Disables running dynamic scripts. If enabled, it exposes Elasticsearch
    # directly to users and might pose a security risk.
    # The default is sandbox.
    #script.disable_dynamic: true
    
    # Script Reloading Enabled
    # Enables new and changed scripts being reloaded, while deleted scripts being
    # removed from preloaded scripts cache.
    # The default is true.
    #script.auto_reload_enabled: true
    
    # Script Reloading Interval
    # The default is 60 seconds.
    #watcher.interval: 60s
    
     
  17. Andy.N

    Andy.N Well-Known Member

    Code:
    index.number_of_shards: 1
    index.number_of_replicas: 0
     
  18. RoldanLT

    RoldanLT Well-Known Member

    This config was suggested somewhere, I already forgot :/
     
  19. RoldanLT

    RoldanLT Well-Known Member

  20. Andy.N

    Andy.N Well-Known Member

    Try to remove it, restart and rebuild index
     

Share This Page