elasticsearch


Using add/remove when searching multiple indices with elasticsearch


The elasticsearch documentation on searching multiple indices states:
Most APIs that refer to an index parameter support execution across multiple indices, using simple test1,test2,test3 notation (or _all for all indices). It also support wildcards, for example: test* or *test or te*t or *test*, and the ability to "add" (+) and "remove" (-), for example: +test*,-test3.
If I understand this correctly, "-" in front of an index means that this particular index will be excluded. However, I'm not sure I understand the "+". Can it be interpreted as "must be included"? What would be the difference between +test*,-test3 and test*,-test3?

Related Links

does elasticsearch support queries of queries?
Data modelling with elastic search
match or term query on a long property for exact match?
Updating filtered documents in elasticsearch
Testing ElasticSearch custom analyzers
timestamp issue in elasticsearch
Elasticsearch NEST client singleton usage
Elasticsearch: suggest users based on likes
Set every property type to not_analyzed for custom object
How to tell ElasticSearch to create nested fields
Elasticsearch minimum master nodes
How to create an Elasticsearch index without word-splitting?
Run a simple sql group by query in kibana 4
Clearing ttl from an object in elasticsearch
how can i search for values that have “-” dash in them with elastic search
Elasticsearch array of query strings

Categories

HOME
workflow
applescript
bots
mousemove
message-queue
code-formatting
consul
qooxdoo
dji-sdk
angular-meteor
ag-grid
spring-security-oauth2
migrate
ex
nest-api
cloudsim
wsf
pst
fido-u2f
intel
ini
function-points
password-generator
crud
tf-idf
sparkle
objectmapper
python-2.x
opnet
john-the-ripper
appcode
winrm
gnu-classpath
directfb
rails-postgresql
busboy
cloudera-quickstart-vm
widestring
python-sounddevice
oauth2
utf
jacoco-maven-plugin
icepdf
spooler
destroy
.net-micro-framework
android-5.0-lollipop
jgrapht
extjs4.1
webvtt
dex
gmaps.js
dymola
bpms
oid
xcode6.4
livecycle
dojo-build
mercurial-extension
persistent-object-store
as3-api
flush
wikimedia-commons
diawi
modern.ie
alwayson
componentart
webproject
fuseesb
html-escape-characters
dnsjava
dc
zend-mail
visual-c++-2012
treeline
thruway
cidr
jms-serializer
django-sites
code39
mute
apportable
sly-scroller
dibs
arel
linkbutton
wndproc
arrow
word-frequency
fbml
differentiation
mongrel
chunking
jdownloader
activestate
j2mepolish
ppc
firephp
source-code-protection
wmd-editor
main-method
parentid

Resources

Encrypt Message