Indexing whole collection? What?


I have indexed my Asset collection using command like this:

Create river for Asset collection

http://localhost:9200/_river/asset_river/_meta -d '{

"type": "mongodb",

"mongodb": {

 "db": "my_database",

 "collection": "Asset"


"index": {

 "name": "asset_index",

 "type": "Asset"



I think that indexes all columns of every document in the whole collection.
Does it make sense to index the whole collection – because if I understand
well this will create as many indexes as columns in the entire collections
and it might be pretty slow to retrieve the data?


You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
For more options, visit