Hi there, Range indexes are specific to a particular datatype, so they need to be kept separate. If you have documents with different datatypes in the same element (or attribute), you need to separate these out in order to benefit from the indexes. Underneath, constraints on results come from functions like cts:element-range-query() and faceting comes from functions like cts:element-value-ranges().
To get your documents embedded in the response, have you tried <transform-results apply="raw"/> ? Thanks, -m On Feb 22, 2010, at 4:19 AM, Nalini v wrote: > Hello Friends, > > I am learning library search api concepts. which is seems to be very > intrsting and easy to the learners. > I have a constraint like fetch the records if key value is in between the > available recorde. > simply i want to use a range constrint in my search query. But my node values > mixed with sting values and integer. > If i declare my range index as string, search my not give proper results. > ex: string comparision for (1,11) is different from int comparison ( 1,11) > > in this case how i can geet my results. > and also i want some explanation about search:search() i am getting the path > in search:response. > by using Search:search() method, i want to get My doument data embeded in > <serach:result> node , like i am getting <search:snippet/> . > search:snippet : will return > > > > > Thanks in advance. > _______________________________________________ > General mailing list > [email protected] > http://xqzone.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
