Wouldn't/shouldn't this be caught in QA? Run through all automated and manual tests. Dynamic index count should be zero.
If I didn't catch in QA, i'd rather get a warning, if anything, rather than blow up production. My wager would be that- if it was missed by QA, the dynamic index would be in something with lower impact which wouldn't cause too many problems.
:-)
Perhaps. But turning on a flag that means, "shut down production if this happens anywhere in the app" would give me more than a little pause. Lol.
Hmmm. I suppose it would just affect the particular query/business function without the index, but that's a pretty nasty way to find out your QA process has holes. And you'd better have a pretty fast launch process to get the fix out there. Angry execs. Haha.
Chris,
We just added three new features:
localhost:8080/indexes/dynamic/Companies?query=Name:Northwind&explain=true
I've been struggling with what sounds like a similar issue. I had a working search prototype using a single static index which now insists on generating a dynamic index for reasons I cannot yet understand. If I specify the index name all is well, but I am trying to understand why the query optimizer isn't choosing my static index automatically, which is what leads me to this thread.I have installed unstable build 2043 and when I run the query using the "explain" parameter I too see the reason "The following field have aren't using default indexing". I guess my question is, what is this really telling me? I know from my index definition that two of the three fields are using default indexing and one field is analyzed. I do not understanding why this index is ignored in favor of a dynamic index given that my query references only the 3 fields contained in the index.