One more issue with Full Text Query. It seems that it can't handle indexing
on a field if one of the docs contain a property that is null if that
property is being queried. For example, you have a master/detail interface
and you create a new doc and all the fields are null at the beginning.
I get the following error as soon as I create a new doc:
**** ASSERTION FAILED: text != nil*
*2014-02-24 11:07:27.411 ShotBOT[3636:340b] *** Assertion failure in
-[CBLSpecialKey initWithText:](),
/Users/couchbase/jenkins/workspace/build_cblite_ios_stable/couchbase-lite-ios/Source/CBLView+Internal.m:383*
*11:07:27.412*‖* WARNING*** : Exception caught in map block of view
'jobSearchResults':*
* text != nil*
* 5 ShotBOT 0x00019ef9 -[CBLSpecialKey
initWithPoint:] + 0*
* 6 ShotBOT 0x00017d40 CBLTextKey + 80*
* 7 ShotBOT 0x0000cc60 __28+[Job
searchJobsInDatabase:]_block_invoke + 256*
* 8 ShotBOT 0x00019877
__32-[CBLView(Internal) updateIndex]_block_invoke + 3344*
* 9 ShotBOT 0x00010cba
-[CBLDatabase(Internal) _inTransaction:] + 172*
* 10 ShotBOT 0x00018a74 -[CBLView(Internal)
updateIndex] + 239*
* 11 ShotBOT 0x000550ad -[CBLDatabase(Views)
queryViewNamed:options:lastSequence:status:] + 161*
* 12 ShotBOT 0x000528d5 __21-[CBLQuery
runAsync:]_block_invoke + 140*
* 13 ShotBOT 0x0001e1b8 __35-[CBL_Server
tellDatabaseNamed:to:]_block_invoke + 85*
* 14 libobjc.A.dylib 0x01ab481f -[NSObject
performSelector:withObject:] + 70*
* 15 Foundation 0x016f79d8
__NSThreadPerformPerform + 285*
* 16 CoreFoundation 0x01ca883f
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15*
* 17 CoreFoundation 0x01ca81cb __CFRunLoopDoSources0
+ 235*
* 18 CoreFoundation 0x01cc529e __CFRunLoopRun + 910*
* 19 CoreFoundation 0x01cc4ac3 CFRunLoopRunSpecific +
467*
* ...*
*11:07:27.420*‖* WARNING*** : CouchbaseLite: Failed to rebuild view
'jobSearchResults': 593*
*11:07:27.420*‖* WARNING*** : Failed to update view index: 593*
*11:07:27.420| WARNING*** : <CBLLiveQuery: 0x8a8aab0>: Error updating rows:
Error Domain=CBLHTTP Code=500 "500 Application callback block failed"
UserInfo=0x9e58e10 {NSLocalizedFailureReason=Application callback block
failed, NSLocalizedDescription=500 Application callback block failed}*
*Is this an issue with SQLite or the framework?*
*Todd*
--
You received this message because you are subscribed to the Google Groups
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mobile-couchbase/0d2209c3-1610-47ae-8eaf-2e103b438d85%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.