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