Example #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);
        }
Example #2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void mustSelectStringForExactPredicateWithNumberValue() throws Exception
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
        public virtual void MustSelectStringForExactPredicateWithNumberValue()
        {
            // given
            foreach (object value in FusionIndexTestHelp.ValuesSupportedByString())
            {
                IndexQuery indexQuery = IndexQuery.exact(PROP_KEY, value);

                // then
                VerifyQueryWithCorrectReader(ExpectedForStrings(), indexQuery);
            }
        }