You can't in 0.17, but, in master, you can by specifying a path for the id
in the mapping. This will require another (fast, pull parsing, bailing once
found) parse phase to extract the id (since it needs to be used for
routing). So, in the simple case you can specify: _id : {"path" : "_id"} in
the mapping.
Awesome, thanks! Is this going to make it into 0.17.7?
Thanks,
Matt Weber
On Thu, Sep 15, 2011 at 2:33 AM, Shay Banon kimchy@gmail.com wrote:
You can't in 0.17, but, in master, you can by specifying a path for the id
in the mapping. This will require another (fast, pull parsing, bailing once
found) parse phase to extract the id (since it needs to be used for
routing). So, in the simple case you can specify: _id : {"path" : "_id"} in
the mapping.
Awesome, thanks! Is this going to make it into 0.17.7?
Thanks,
Matt Weber
On Thu, Sep 15, 2011 at 2:33 AM, Shay Banon kimchy@gmail.com wrote:
You can't in 0.17, but, in master, you can by specifying a path for the id
in the mapping. This will require another (fast, pull parsing, bailing once
found) parse phase to extract the id (since it needs to be used for
routing). So, in the simple case you can specify: _id : {"path" : "_id"} in
the mapping.
Awesome, thanks! Is this going to make it into 0.17.7?
Thanks,
Matt Weber
On Thu, Sep 15, 2011 at 2:33 AM, Shay Banon kimchy@gmail.com wrote:
You can't in 0.17, but, in master, you can by specifying a path for the
id in the mapping. This will require another (fast, pull parsing, bailing
once found) parse phase to extract the id (since it needs to be used for
routing). So, in the simple case you can specify: _id : {"path" : "_id"} in
the mapping.
Awesome, thanks! Is this going to make it into 0.17.7?
Thanks,
Matt Weber
On Thu, Sep 15, 2011 at 2:33 AM, Shay Banon kimchy@gmail.com wrote:
You can't in 0.17, but, in master, you can by specifying a path for the
id in the mapping. This will require another (fast, pull parsing, bailing
once found) parse phase to extract the id (since it needs to be used for
routing). So, in the simple case you can specify: _id : {"path" : "_id"} in
the mapping.
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.