使用Lily Solr的Hbase Indexer删除添加新索引器的索引数据

时间:2016-05-13 17:32:23

标签: hadoop solr lucene hbase

我将Lily Solr(Lucene 4.4)的Hbase Indexer与我的CDH4系统一起使用。

我有2台运行lily-solr的服务器和5台索引器配置索引不同的数据数据类型,我也使用lily-server在Hbase中存储数据。

当我添加索引器配置和批量构建请求时,最初它会索引所有数据并逐渐删除所有索引。

我使用以下方式添加索引:

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent" android:layout_height="match_parent">
    <!-- Editext for Search -->
    <EditText android:id="@+id/inputSearch"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:hint="Search products.."
        android:inputType="textVisiblePassword"/>
    <ListView android:id="@+id/listView"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:drawSelectorOnTop="false"/>
</FrameLayout>

任何人都可以帮助我了解各种根本原因,以便我能够纠正。

我按照以下步骤

  1. 将数据导入Hbase
  2. 启动Lily Server
  3. 启动Hbase Indexer
  4. 将索引器配置添加到Hbase
  5. 如上所述请求批量构建。

0 个答案:

没有答案