Hey All,

   Not sure if I missed a reply to this one. Didn't see it, but for some
reason I don't get direct replies with this engine. I looked for it in list
setting but couldn't find it.

Thanks,

Tom

On Tue, Apr 3, 2012 at 4:12 PM, Tom Hubschman <
[email protected]> wrote:

> 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
>



-- 
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

Reply via email to