Hi Justin,
Thanks for the quick reply. The existing query I have is definitely a
good start but I imagine I could gain greater performance by having more of
the logic executed in the XQuery "stored procedure." (I am using XCC with
Java).
Specifically what I need in my geo-query is the following:
1. An AND query between some key words and a location. (Key Words and
Location are the inputs)
2. The results (The Output) should be ranked by both the and query and
the location
1. Results where the key words appear more often should be returned
higher up.
2. Results where the location is closer should appear higher up
3. The results to be paginated.
1. The ability to specify how many results to return with one call.
2. The ability to specify what "page" of results to return,
3. The confidence that the pagination is consistent (result position
is constant if there are no edits/additions/deletions).
Regarding performance I just need the best that ML/XQuery can do. Some
of the above I am currently doing in Java which I know is impacting the
performance (I want to do all sorting/paging/ranking in XQuery/MarkLogic).
Thanks again
Tom
--
Thomas Hubschman
Director, Engineering
[email protected]
Mobile: (415) 612-0359
www.warriorgateway.org
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general