Searching versions


(Mohit Anchlia) #1

Is it possible to run a search on the history of versions instead of just
the recent one? For eg:

Key 1: Version 1
{ user : 'abc'
age: 20
}

Key 1: Version 2
{
email: abc@d.com
}

Now can I search on "user:abc"?

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Ivan Brusic) #2

Previous versions of a document are not available. The version field is
also not queryable.

Cheers,

Ivan

On Mon, Aug 26, 2013 at 5:48 PM, Mohit Anchlia mohitanchlia@gmail.comwrote:

Is it possible to run a search on the history of versions instead of just
the recent one? For eg:

Key 1: Version 1
{ user : 'abc'
age: 20
}

Key 1: Version 2
{
email: abc@d.com
}

Now can I search on "user:abc"?

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Mohit Anchlia) #3

Wondering what's the use of having versions if it can't be queried?

On Mon, Aug 26, 2013 at 6:02 PM, Ivan Brusic ivan@brusic.com wrote:

Previous versions of a document are not available. The version field is
also not queryable.

Cheers,

Ivan

On Mon, Aug 26, 2013 at 5:48 PM, Mohit Anchlia mohitanchlia@gmail.comwrote:

Is it possible to run a search on the history of versions instead of just
the recent one? For eg:

Key 1: Version 1
{ user : 'abc'
age: 20
}

Key 1: Version 2
{
email: abc@d.com
}

Now can I search on "user:abc"?

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Alexander Reelsen) #4

Hey,

it is good for optimistic concurrency control, see
http://www.elasticsearch.org/guide/reference/api/index_/ and
http://en.wikipedia.org/wiki/Optimistic_concurrency_control

Hope this helps (if not, just ask),

--Alex

On Tue, Aug 27, 2013 at 5:44 AM, Mohit Anchlia mohitanchlia@gmail.comwrote:

Wondering what's the use of having versions if it can't be queried?

On Mon, Aug 26, 2013 at 6:02 PM, Ivan Brusic ivan@brusic.com wrote:

Previous versions of a document are not available. The version field is
also not queryable.

Cheers,

Ivan

On Mon, Aug 26, 2013 at 5:48 PM, Mohit Anchlia mohitanchlia@gmail.comwrote:

Is it possible to run a search on the history of versions instead of
just the recent one? For eg:

Key 1: Version 1
{ user : 'abc'
age: 20
}

Key 1: Version 2
{
email: abc@d.com
}

Now can I search on "user:abc"?

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #5