Hi all
I Just beginning to learn elasticsearch,have some quesstion as
how can i set index optimize threshold in configuration files ?
i send an order as
curl -XPOST 'http://localhost:9200/gindex/_optimize' -d
'{"max_num_segments":"1","wait_for_merge":"false"}'
,but no change in the index,it can't optimize.
i use java api,how can i traversal SearchHit.getHighlightFields() ?
Hi all
I Just beginning to learn elasticsearch,have some quesstion as
how can i set index optimize threshold in configuration files ?
i send an order as
curl -XPOST 'http://localhost:9200/gindex/_optimize' -d
'{"max_num_segments":"1","wait_for_merge":"false"}'
,but no change in the index,it can't optimize.
i use java api,how can i traversal SearchHit.getHighlightFields() ?
Optimize is not really recommended in Lucene, it is bad when you have
realtime requirements and/or a large index ... just decrease the
merge_factor IMO:
Hi all
I Just beginning to learn elasticsearch,have some quesstion as
how can i set index optimize threshold in configuration files ?
i send an order as
curl -XPOST 'http://localhost:9200/gindex/_optimize'-d
'{"max_num_segments":"1","wait_for_merge":"false"}'
,but no change in the index,it can't optimize.
i use java api,how can i traversal SearchHit.getHighlightFields() ?
Optimize is not really recommended in Lucene, it is bad when you have
realtime requirements and/or a large index ... just decrease the
merge_factor IMO:
Hi all
I Just beginning to learn elasticsearch,have some quesstion as
how can i set index optimize threshold in configuration files ?
i send an order as
curl -XPOST 'http://localhost:9200/gindex/_optimize'-d
'{"max_num_segments":"1","wait_for_merge":"false"}'
,but no change in the index,it can't optimize.
i use java api,how can i traversal SearchHit.getHighlightFields() ?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.