Exemplo n.º 1
0
        internal static Dictionary <IndexSlot, Value[]> ValuesByGroup()
        {
            Dictionary <IndexSlot, Value[]> values = new Dictionary <IndexSlot, Value[]>(typeof(IndexSlot));

            values[STRING]   = FusionIndexTestHelp.ValuesSupportedByString();
            values[NUMBER]   = FusionIndexTestHelp.ValuesSupportedByNumber();
            values[SPATIAL]  = FusionIndexTestHelp.ValuesSupportedBySpatial();
            values[TEMPORAL] = FusionIndexTestHelp.ValuesSupportedByTemporal();
            values[LUCENE]   = FusionIndexTestHelp.ValuesNotSupportedBySpecificIndex();
            return(values);
        }
Exemplo n.º 2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void mustSelectTemporalForExactPredicateWithTemporalValue() throws Exception
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        public virtual void MustSelectTemporalForExactPredicateWithTemporalValue()
        {
            // given
            assumeTrue(HasTemporalSupport());
            foreach (object temporalValue in FusionIndexTestHelp.ValuesSupportedByTemporal())
            {
                IndexQuery indexQuery = IndexQuery.exact(PROP_KEY, temporalValue);

                // then
                VerifyQueryWithCorrectReader(_readers[TEMPORAL], indexQuery);
            }
        }