I seem to be running into some trouble with Elasticsearch and the CouchDB
When elasticsearch indexes my database _changes, it runs into this problem:
Exception in thread "elasticsearch[Trapper][couchdb_river_indexer][T#1]"
org.elasticsearch.ElasticSearchIllegalStateException: No matching token for
This is because I have a number of documents in my database with field
values that look like 4634970607942323000.
I have googled around, and tried filtering, but filtering seems to only
lead to filtering of document types (or documents with certain fields and
values). I don't seem to be able to filter out fields from being indexed.
These are my solutions so far, with notes in parens:
- rewrite all field values in couchdb with BIG_INTEGER to smaller values
(problem: I tried doing that, and still ran into the same problem, albeit
now I have more documents indexed. I suspect the issue is with unknown
fields with large integers. I have no idea where ElasticSearch stopped
indexing and even logging level set to TRACE yielded no clues)
- cast all field values from _changes to strings (only a few fields
matter in my documents, and those that have integers in them are meta data
usually. I tried with custom mapping and got terribly muddled)
- make couchdb-river ignore certain fields when indexing documents (I
have no idea how to do that. I read the filtering documentation, and
managed to filter only documents with certain fields and certain values for
the fields, but that's not what I want)
- make couchdb-river ignore fields when error occurs. (I have no idea
how to do this either)
So, ElasticSearch community, help me, you're my only hope
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 firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.