elasticsearch


Only index certain fields from Wikipedia River


I'm trying to use the Wikipedia River
Is there a way / How can I customize the mapping so that ElasticSearch only index the title fields (I'd still like to access the whole text)?
The mapping is useful more to decide how you index data rather than what you index, unless you set it to dynamic: false which means that elasticsearch effectively accepts only the fields that are explicitly declared in the mapping.
The problem is that the wikipedia river always sends a set of fields for every document and this behaviour is not currently configurable, thus there's no way to index only a subset of those fields (e.g. only title and _source). What you could do is modify your search request so that you get back only the fields that you are interested in, but the content of the index will stay the same.

Related Links

Elasticsearch query for sum of part of a document
how does the logstash kv{} feature work?
Logstash ruby filter conditional statement error
How to change index field as not analyzed in elastic search while writing a dataframe?
What is the theory behind, Elasticsearch indexing the unstructured data like pdf files?
What database can be used with ElasticSearch [closed]
Docker-compose - volumes driver local meaning
How can I delete my entire Elasticsearch db and resend all the logs?
How to configure the publish address of elasticsearch 5.0 with CLI flags?
How to limit ngram tokenzier to first few characters to make it behave like sliding edgeNgram?
nest : how do an index mapping by passing a raw request?
Grafana cannot aggregate on String fields as it does not recognize keyword field in Elasticsearch
Using text field for aggregations in Elasticsearch
Elastic search + LogStash cannot connect
How to allow external connection to elastic search on GCE instance
Elasticserach filter on aggregated results (SQL HAVING)

Categories

HOME
opengl
orientdb
user-interface
class
xcode8.1
android-fragments
message-queue
biztalk
iverilog
fogbugz
dependencies
jint
visualforce
facebook-android-sdk
pyresttest
responsive-design
sharepoint-online
createjs
amazon-elb
global-variables
varnish-vcl
bazaar
spring-shell
activeadmin
bsd
bosun
fido-u2f
laravel-4.2
mongodb-3.4
universal
counting
image-optimization
apptentive
oauth2
game-center
netapp
react-intl
asp.net-web-api-routing
ptvs
mobile-angular-ui
degrees
openerp-6
pbx
portal
yui3
clp
django-testing
mathml
distributed-cache
textblock
persistent-object-store
openmrs
cryptojs
perceptron
stack-smash
arbre
dsa
srv-record
android-studio-import
featuretoggle
apple
postal-code
fantom
textscan
kefir.js
prism-4
mutators
nhibernate-criteria
operands
qt5.4
treeline
nachos
forceclose
fileshare
jchartfx
infinite
indesign-server
eager-loading
axacropdf
proc-open
getproperty
clearinterval
opends
prototypal-inheritance
nsfont
navigationcontroller
data-dump
firefly-mv
bll
dip
explicit
resharper-5.1
sscli
j2mepolish
external-sorting
suggestbox
rootkit

Resources

Encrypt Message