Hi, Very, very basically, the universal index will index words and co-occurrence between 2 different words. Which let you search efficiently (like searches you would do on Google, using phrases, several words, different weights depending on the distance between the words you search for, etc.)
Range indexes index values. A string range index will then be useful for enumerations or elements that you will typically search for exact matches. Range indexes are ordered also, and let you order results very efficiently. A very common use case for range indexes are facets. If you describe what you want to achieve, we can tell you more. Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ On 3 July 2015 at 15:08, Chunyu Cong wrote: > Hello, > > I understand Marklogic index words automatically. > What happens if we add range index for the string element? > > Is that never needed? > Or the range index could speed up searching on string? > > Thanks, > Chunyu > > _______________________________________________ > General mailing list > [email protected] > Manage your subscription at: > http://developer.marklogic.com/mailman/listinfo/general > _______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
