Re: [MarkLogic Dev General] More insights on MarkLogic 9.0

2016-11-17 Thread Gontla Praveen
Hi Greet,

When is the next Marklogic World Tour ? Where can i  find the schedule for
ML 9 release updates ?

Thanks,
Praveen.

On Thu, Nov 17, 2016 at 3:34 AM, Geert Josten 
wrote:

> Hi Shan,
>
> Not much has been made public yet. I expect more will be released around
> next MarkLogic World tour. There are several blogs out there though:
>
> https://www.google.nl/search?q=MarkLogic%209
>
> And there is quite some material available through https://ea.marklogic.
> com/
>
> Cheers,
> Geert
>
> From:  on behalf of Shiv Shankar
> 
> Reply-To: MarkLogic Developer Discussion 
> Date: Thursday, November 17, 2016 at 1:44 AM
> To: "general@developer.marklogic.com" 
> Subject: [MarkLogic Dev General] More insights on MarkLogic 9.0
>
> Hi,
> Any deeper-insight documents on MarkLogic 9.0 features?
>
> Regards
> Shan.
>
> ___
> General mailing list
> General@developer.marklogic.com
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
___
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general


Re: [MarkLogic Dev General] French stemmed word is not getting recognized and highlighted

2016-04-14 Thread Gontla Praveen
Hi Mary,

While testing found more when only basic stemming is enabled.

For example the term "mourir" with basic stemming enabled returns me meurt,
mourant, mourrait, mourir

let $text:= marcher avec la bau rupture de baux
septembre 1997, bail marche cette disparues situation bau fait disparaître
la justification. Les services fournis disparu par la demanderesse l'ont
été dans l'attente d'une rémunération,
return
cts:highlight($text,cts:query(
mourir
case-insensitive

diacritic-insensitive

punctuation-insensitive
  ),{$cts:text})

Why does not the same happens for the term disparu  or marche?

Why advanced stemming required for these terms? Is it anything specific to
French language ?

Also, when i did check for stems of cts:stem("baux","fr") i get bau,bail
where bau doesnt have any meaning in french.

Since only basic stemming is enabled at my DB level i am seeing documents
contains baux or bau but not bail.

Can you tell me why this difference in bahaviour on french stems.

Thanks,
Praveen.

On Tue, Apr 12, 2016 at 10:45 AM, Mary Holstege <mary.holst...@marklogic.com
> wrote:

> On Tue, 12 Apr 2016 07:10:46 -0700, Gontla Praveen <
> praveenkumargontla...@gmail.com> wrote:
>
> Hi Mary,
>>
>> Why an advanced stemming need to be enabled any specific reason for that?
>>
>
> Not everyone needs or wants advanced stemming: it does more work (so,
> slightly slower) with larger indexes.
> For some languages, the slight increase in recall is not worth it for many
> use cases.
>
>
>> What will be difference between using basic stemming and advanced
>> stemming ?
>>
>
> Basic stemming only indexes the preferred stem for each token (typically,
> the shortest one). Advanced stemming indexes all possible stems.
>
> Completing the picture:
> * decompounding is like advanced stemming, but with additional indexing
> for components of compounds. This principally applies to German and
> languages like that that create long noun clusters as single words.
> * you can also turn stemming off entirely; principally useful where you
> searching over non-linguistic content
>
> //Mary
>
>
>> Thanks,
>> Praveen.
>>
>> On Thu, Mar 31, 2016 at 12:58 PM, Mary Holstege <
>> mary.holst...@marklogic.com
>>
>>> wrote:
>>>
>>
>>
>>> Do you have advanced stemming enabled? With basic stemming only the first
>>> stem returned from cts:stem indexed and used for matching in search.
>>>
>>> //Mary
>>>
>>>
>>> On 03/31/2016 03:00 AM, Debin, Infant Jerald (LNG-CON) wrote:
>>>
>>> Hi Team,
>>>
>>>
>>>
>>> For the term French term *“disparu”* corresponding French stemmed word
>>> *“disparaître”* is not getting recognized when performing search.
>>>
>>>
>>>
>>> *Example:*
>>>
>>>
>>>
>>> *Query:*
>>>
>>>
>>>
>>> let $text:= avec la rupture de septembre 1997, cette
>>> disparues situation fait disparaître la justification. Les services
>>> fournis
>>> disparu par la demanderesse l'ont été dans l'attente d'une
>>> rémunération,
>>>
>>> return
>>>
>>> cts:highlight($text,cts:query(
>>>
>>> >> xml:lang="fr">disparu
>>>
>>> case-insensitive
>>>
>>>
>>> diacritic-insensitive
>>>
>>>
>>> punctuation-insensitive
>>>
>>>   ),{$cts:text})
>>>
>>>
>>>
>>> *Result:*
>>>
>>>
>>>
>>> Disparaître is not getting recognized and highlighted as below,
>>>
>>>
>>>
>>> avec la rupture de septembre 1997, cette
>>> disparues situation fait disparaître la justification. Les
>>> services fournis disparu par la demanderesse l'ont été dans
>>> l'attente d'une rémunération,
>>>
>>>
>>>
>>> Below is the result of cts:stem,
>>>
>>>
>>>
>>> cts:stem("disparu","fr")
>>>
>>>
>>>
>>> disparu
>>>
>>> disparaître
>>>
>>>
>>>
>>> Please let us know on this issue.
>>>
>>>
>>>
>>> Thanks and Regards,
>>>
>>>
>>>
>>> Debin
>>>
>>> Mob: +91-9789826001
>>>
>>>
>>>
>>>
>>> ___
>>> General mailing listgene...@developer.marklogic.com
>>> Manage your subscription at:
>>> http://developer.marklogic.com/mailman/listinfo/general
>>>
>>>
>>>
>>> ___
>>> General mailing list
>>> General@developer.marklogic.com
>>> Manage your subscription at:
>>> http://developer.marklogic.com/mailman/listinfo/general
>>>
>>>
>>>
>
> --
> Using Opera's revolutionary email client: http://www.opera.com/mail/
>
___
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general


Re: [MarkLogic Dev General] French stemmed word is not getting recognized and highlighted

2016-04-12 Thread Gontla Praveen
Found the answer myself in docs. Please ignore my email.

On Tue, Apr 12, 2016 at 10:10 AM, Gontla Praveen <
praveenkumargontla...@gmail.com> wrote:

> Hi Mary,
>
> Why an advanced stemming need to be enabled any specific reason for that?
>
> What will be difference between using basic stemming and advanced stemming
> ?
>
> Thanks,
> Praveen.
>
> On Thu, Mar 31, 2016 at 12:58 PM, Mary Holstege <
> mary.holst...@marklogic.com> wrote:
>
>>
>> Do you have advanced stemming enabled? With basic stemming only the first
>> stem returned from cts:stem indexed and used for matching in search.
>>
>> //Mary
>>
>>
>> On 03/31/2016 03:00 AM, Debin, Infant Jerald (LNG-CON) wrote:
>>
>> Hi Team,
>>
>>
>>
>> For the term French term *“disparu”* corresponding French stemmed word
>> *“disparaître”* is not getting recognized when performing search.
>>
>>
>>
>> *Example:*
>>
>>
>>
>> *Query:*
>>
>>
>>
>> let $text:= avec la rupture de septembre 1997, cette
>> disparues situation fait disparaître la justification. Les services fournis
>> disparu par la demanderesse l'ont été dans l'attente d'une
>> rémunération,
>>
>> return
>>
>> cts:highlight($text,cts:query(
>>
>> disparu
>> 
>>
>> case-insensitive
>>
>>
>> diacritic-insensitive
>>
>>
>> punctuation-insensitive
>>
>>   ),{$cts:text})
>>
>>
>>
>> *Result:*
>>
>>
>>
>> Disparaître is not getting recognized and highlighted as below,
>>
>>
>>
>> avec la rupture de septembre 1997, cette 
>> disparues situation fait disparaître la justification. Les services 
>> fournis disparu par la demanderesse l'ont été dans l'attente d'une 
>> rémunération,
>>
>>
>>
>> Below is the result of cts:stem,
>>
>>
>>
>> cts:stem("disparu","fr")
>>
>>
>>
>> disparu
>>
>> disparaître
>>
>>
>>
>> Please let us know on this issue.
>>
>>
>>
>> Thanks and Regards,
>>
>>
>>
>> Debin
>>
>> Mob: +91-9789826001
>>
>>
>>
>>
>> ___
>> General mailing listgene...@developer.marklogic.com
>> Manage your subscription at: 
>> http://developer.marklogic.com/mailman/listinfo/general
>>
>>
>>
>> ___
>> General mailing list
>> General@developer.marklogic.com
>> Manage your subscription at:
>> http://developer.marklogic.com/mailman/listinfo/general
>>
>>
>
___
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general


Re: [MarkLogic Dev General] French stemmed word is not getting recognized and highlighted

2016-04-12 Thread Gontla Praveen
Hi Mary,

Why an advanced stemming need to be enabled any specific reason for that?

What will be difference between using basic stemming and advanced stemming ?

Thanks,
Praveen.

On Thu, Mar 31, 2016 at 12:58 PM, Mary Holstege  wrote:

>
> Do you have advanced stemming enabled? With basic stemming only the first
> stem returned from cts:stem indexed and used for matching in search.
>
> //Mary
>
>
> On 03/31/2016 03:00 AM, Debin, Infant Jerald (LNG-CON) wrote:
>
> Hi Team,
>
>
>
> For the term French term *“disparu”* corresponding French stemmed word
> *“disparaître”* is not getting recognized when performing search.
>
>
>
> *Example:*
>
>
>
> *Query:*
>
>
>
> let $text:= avec la rupture de septembre 1997, cette
> disparues situation fait disparaître la justification. Les services fournis
> disparu par la demanderesse l'ont été dans l'attente d'une
> rémunération,
>
> return
>
> cts:highlight($text,cts:query(
>
> disparu
>
> case-insensitive
>
>
> diacritic-insensitive
>
>
> punctuation-insensitive
>
>   ),{$cts:text})
>
>
>
> *Result:*
>
>
>
> Disparaître is not getting recognized and highlighted as below,
>
>
>
> avec la rupture de septembre 1997, cette 
> disparues situation fait disparaître la justification. Les services 
> fournis disparu par la demanderesse l'ont été dans l'attente d'une 
> rémunération,
>
>
>
> Below is the result of cts:stem,
>
>
>
> cts:stem("disparu","fr")
>
>
>
> disparu
>
> disparaître
>
>
>
> Please let us know on this issue.
>
>
>
> Thanks and Regards,
>
>
>
> Debin
>
> Mob: +91-9789826001
>
>
>
>
> ___
> General mailing listgene...@developer.marklogic.com
> Manage your subscription at: 
> http://developer.marklogic.com/mailman/listinfo/general
>
>
>
> ___
> General mailing list
> General@developer.marklogic.com
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
___
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] Field indexes in ML7.0

2016-02-04 Thread Gontla Praveen
Hi All,

Can someone help me to validate the field path that i am trying to create

I have a document which matches my xpath

x:a/x:b//y:c [*:type = "xyz"]

Even though my db contains documents which contains this xpaths I am unable
to retrieve that document using cts field word query.

I have re-indexed the db after creating this field path as well.

Can someone help me why I am unable to retrieve the document?

Thanks,
Praveen.
___
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general


Re: [MarkLogic Dev General] Field indexes in ML7.0

2016-02-04 Thread Gontla Praveen
Did that still unable to retrieve the document.

But with this xpath when I execute in qconsole against a document able to
retrieve the document.
On Feb 4, 2016 10:59 PM, "Evan Lenz" <e...@lenzconsulting.com> wrote:

> I'm suspicious of the *:type test. Try configuring a path namespace in the
> Admin UI and using a prefix rather than a wildcard. Just a guess.
>
> On Thursday, February 4, 2016, Gontla Praveen <
> praveenkumargontla...@gmail.com> wrote:
>
>> Hi All,
>>
>> Can someone help me to validate the field path that i am trying to create
>>
>> I have a document which matches my xpath
>>
>> x:a/x:b//y:c [*:type = "xyz"]
>>
>> Even though my db contains documents which contains this xpaths I am
>> unable to retrieve that document using cts field word query.
>>
>> I have re-indexed the db after creating this field path as well.
>>
>> Can someone help me why I am unable to retrieve the document?
>>
>> Thanks,
>> Praveen.
>>
>
>
> --
>
> Evan Lenz
> President, Lenz Consulting Group, Inc.
> http://lenzconsulting.com
> +1 (206) 898-1654
>
>
> ___
> General mailing list
> General@developer.marklogic.com
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
___
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general


Re: [MarkLogic Dev General] ec2 connect issues

2016-02-02 Thread Gontla Praveen
Hi,

>From ec2 security group details I could see http ports not there ?

Can you try giving the same configuration for http type as well and try to
connect back ?

Thanks
Praveen.
On Feb 2, 2016 1:43 PM,  wrote:

> Hi Vitaly,
>
> I get same result with Chrome and Firefox.
> To my knowledge nothing changed on EC2 side.
> Security group looks like this:
>
> Type
> Protocol
> Port Range
> Source
> SSH
> TCP
> 22
> 0.0.0.0/0
> Custom TCP Rule
> TCP
> 7997 - 8100
> 0.0.0.0/0
>
> Thanks,
> Morgan
>
>
> --
> *From: *"Vitaly Korolev" 
> *To: *"MarkLogic Developer Discussion" 
> *Sent: *Tuesday, February 2, 2016 2:32:40 PM
> *Subject: *Re: [MarkLogic Dev General] ec2 connect issues
>
> Hi Morgan,
>
>
>
> It is strange to get response on 8000 and not on 8001. Have you tried a
> different browser? Do you know if anything changed on EC2 side? Double
> check the security group to make sure port 8001 is open.
>
>
>
> Regards,
>
> *Vitaly Korolev*
> Staff QA Engineer
> *Mark**Logic* Corporation
>
>
>
> *From:* general-boun...@developer.marklogic.com [mailto:
> general-boun...@developer.marklogic.com] *On Behalf Of *
> mcundi...@comcast.net
> *Sent:* Tuesday, February 02, 2016 08:52
> *To:* general@developer.marklogic.com
> *Subject:* [MarkLogic Dev General] ec2 connect issues
>
>
>
> I have an instance of ML set up on AWS EC2. Heretofore all has worked well
> but am having trouble today.
>
>
>
> On the EC2 console it shows my instance with ML running with no problems.
>
>
>
> I am able to connect to ML qconsole with no problem.
>
> http://ec2-xx-xx-xx-xxx.compute-1.amazonaws.com:8000/qconsole/
>
>
>
> I cannot connect to ML Admin page (ERR_CONNECTION_REFUSED in Chrome)
>
> http://ec2-xx-xx-xx-xxx.compute-1.amazonaws.com:8001/
>
>
>
>
>
> I cannot to connect to any of the other web pages I had created on other
> ports.
>
>
>
> Any help appreciated.
>
>
>
> Morgan
>
> ___
> General mailing list
> General@developer.marklogic.com
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
> ___
> General mailing list
> General@developer.marklogic.com
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
___
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general


[MarkLogic Dev General] cts:element-values

2013-09-22 Thread Gontla Praveen
Hi All,

Can someone suggest me why *cts:element-values* will count null values also.

Below is the same scenario which i came across of.
declare namespace pr=http://www.w3schools.com;;
let $query := cts:directory-query(/onlinedocs/)
let $vals := cts:element-values(xs:QName(pr:filtervalue),(),(collation=
http://sample.com;)$query)

return for $i in $vals
return filter value={$i}{cts:frequency($i)}/filter

The above value returns me all distinct values that are available in my DB
under the element *pr:filtervalue* including null value.

Below is the sample $vals response:

filter value=online40/filter
filter value=online_new90/filter
filter value=offline50/filter
filter value=offline_new20/filter
*filter value=40/filter*
*
*
*Thanks in Advance*
*
*
Thanks,
Praveen
___
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general