Re: [MarkLogic Dev General] using collection and range in default-suggestion-source

2015-05-28 Thread Christopher Hamlin
On Thu, May 28, 2015 at 9:13 AM, Steiner, David J. (LNG-DAY) wrote: > Yes, that does work. Thanks. Though it doesn’t really explain why adding > to the doesn’t work. > > I'll take a guess. My reading of https://docs.marklogic.com/search:search#opt-default-suggestion-source is that it d

Re: [MarkLogic Dev General] using collection and range in default-suggestion-source

2015-05-28 Thread Steiner, David J. (LNG-DAY)
o: general@developer.marklogic.com Subject: Re: [MarkLogic Dev General] using collection and range in default-suggestion-source Hi David, Test with the following code , Its working for me . Here I created two collections "cdcollection" and "cd1collection" , and inserted sample CD

Re: [MarkLogic Dev General] using collection and range in default-suggestion-source

2015-05-28 Thread Rajamani.Marimuthu
gt;>> From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Steiner, David J. (LNG-DAY) Sent: Wednesday, May 27, 2015 7:46 PM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] using collection and range in default-s

Re: [MarkLogic Dev General] using collection and range in default-suggestion-source

2015-05-27 Thread Steiner, David J. (LNG-DAY)
: [MarkLogic Dev General] using collection and range in default-suggestion-source Hi David, Do you want to get suggestions based on default-suggestion-source() with include collection or exclude collection??? Regards, Asit Nautiyal From: general-boun

Re: [MarkLogic Dev General] using collection and range in default-suggestion-source

2015-05-27 Thread Asitmohan Nautiyal
) [david.j.stei...@elsevier.com] Sent: Wednesday, May 27, 2015 7:46 PM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] using collection and range in default-suggestion-source Hi Asit,   This doesn’t work.  I get the same result whether I specify collections that I want or

Re: [MarkLogic Dev General] using collection and range in default-suggestion-source

2015-05-27 Thread Steiner, David J. (LNG-DAY)
neral-boun...@developer.marklogic.com] On Behalf Of Asitmohan Nautiyal Sent: Wednesday, May 27, 2015 9:20 AM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] using collection and range in default-suggestion-source Hi David, Use additional-query element in your option examp

Re: [MarkLogic Dev General] using collection and range in default-suggestion-source

2015-05-27 Thread Steiner, David J. (LNG-DAY)
neral-boun...@developer.marklogic.com] On Behalf Of rajamani.marimu...@cognizant.com Sent: Wednesday, May 27, 2015 8:59 AM To: general@developer.marklogic.com Subject: Re: [MarkLogic Dev General] using collection and range in default-suggestion-source Hi David , In your search:suggest query , have opt

Re: [MarkLogic Dev General] using collection and range in default-suggestion-source

2015-05-27 Thread Asitmohan Nautiyal
un...@developer.marklogic.com] on behalf of Steiner, David J. (LNG-DAY) [david.j.stei...@elsevier.com] Sent: Wednesday, May 27, 2015 6:05 PM To: MarkLogic Developer Discussion Subject: [MarkLogic Dev General] using collection and range in default-suggestion-source I’d like to restrict my suggest

Re: [MarkLogic Dev General] using collection and range in default-suggestion-source

2015-05-27 Thread Rajamani.Marimuthu
o:general-boun...@developer.marklogic.com] On Behalf Of Steiner, David J. (LNG-DAY) Sent: Wednesday, May 27, 2015 6:06 PM To: MarkLogic Developer Discussion Subject: [MarkLogic Dev General] using collection and range in default-suggestion-source I'd like to restrict my suggestions based upon

[MarkLogic Dev General] using collection and range in default-suggestion-source

2015-05-27 Thread Steiner, David J. (LNG-DAY)
I'd like to restrict my suggestions based upon collections (1 to N) for a given range element. I've tried adding element(s) to the options but once I add it, I get no results back. This works: http://marklogic.com/appservices/search";> http://marklogic.com/collation/"; type="xs:s