Data available for filter or serach after udpate or creat?

Hi, Guys:
I know the result won't show up in search after updating a existing
record or creating a new record. is this true for filtering as well? and
the only way to access the newly update/created record is find by ID?

Thanks

Vic

--
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.

Hey,

filtering is also a search operation like querying is, so the results do
not show up until the next refresh (which happens every second by default).
If you really have to (or you are running in a test) you can trigger a
refresh after your index operation, either as a parameter of the index
operation or as an own API call.

Until the refresh happened, you will have to access the document by ID.

--Alex

On Mon, Aug 12, 2013 at 11:25 PM, Victor vicwin@gmail.com wrote:

Hi, Guys:
I know the result won't show up in search after updating a existing
record or creating a new record. is this true for filtering as well? and
the only way to access the newly update/created record is find by ID?

Thanks

Vic

--
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.