-
Type:
Improvement
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Index Maintenance
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Some times, we need indexing of type:
index each value of "attr1" + any document with value "attr2='ccc'"
{
$or:[ {attr1: 1}, {attr2: 'static value'}]
}
In general, we need to customise indexing behaviour. (using predicats or function)