coldfusion - cfindex shows records inserted but doccount is 0 -
i'm using cfindex on query can't data out of index. other indexes have doccount greater 0 when check collections, 1 0 though status of refresh has value. here code:
<cfindex action="refresh" collection="quizzes" body="quiz,course,coursename,quizname,inclass,unlock_at,lock_at,type" query="qexams" type="custom" key="quiz" status="info" /> <cfdump var="#info#" /> <cfcollection name="qquizzes" action="list" /> <cfdump var="#qquizzes#"/> <cfabort/>
i don't think there reason show query creates qexams, i've dumped before index , note there there indeed data in it.
the result of #info#
following:
struct deleted 0 inserted 1154 updated 0
the result of #qqizzes#
following:
doccount lastmodified name path size 1 53 [date] faq [path] 144 2 4892 [date] courses [path] 6777 3 0 [date] quizzes [path] 838
i removed paths , dates clarity. can see size not 0 , changes if add or remove custom fields in index, doccount 0.
what cause 0 every time?
Comments
Post a Comment