Giter Club home page Giter Club logo

indexer-elastic's Introduction

#Nutch-2.3.1-ES5-Indexer

##Description

Apache Nutch 2.3.x is currently designed to work with ElasticSearch 2.3.3. While this works for most I wanted to update the indexer-elastic in Apache Nutch to work with ElasticSearch 5. This is my initial attempt...

##Notable Changes

  • Updated ivy.xml in Apache Nutch:
    • Added Netty-all version 3 dependency
    • Updated org.restlet to 2.3.9
  • Updated indexer-elastic to redo connection using newer Transport Client methods.

##How To Get This Running:


 1. Copy ixy.xml to $NUTCH_HOME/ivy/ivy.xml
 2. Copy indexer-elastic to $NUTCH_HOME/src/plugin/
 3. Copy default.properties to $NUTCH_HOME/
 4. Add Following Configuration to $NUTCH_HOME/conf/nutch-site.xml in the < configuration > element
 
 ```xml
<property>
    <name>elastic.host</name>
    <value>localhost</value>
</property>
<property>
    <name>elastic.port</name>
    <value>9300</value>
</property>
<property>
    <name>elastic.cluster</name>
    <value>elasticsearch</value>
</property>
<property>
    <name>elastic.index</name>
    <value>nutchindex</value>
</property>
<property>
  <name>elastic.max.bulk.docs</name>
  <value>250</value>
  <description>Maximum size of the bulk in number of documents.</description>
</property>
<property>
  <name>elastic.max.bulk.size</name>
  <value>2500500</value>
  <description>Maximum size of the bulk in bytes.</description>
</property>
```

 5. Run ant runtime on $NUTCH_HOME then run nutch as you normally would.

indexer-elastic's People

Contributors

futureweb avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.