Re: [MarkLogic Dev General] Boosting score using additional query

2014-12-11 Thread diwakar.narayanaswamy
Hi, I have added the below query for boosting if a match is found inside an element additional-query xmlns=http://marklogic.com/appservices/search; { cts:or-query((

[MarkLogic Dev General] document insert inside a cpf module

2014-12-08 Thread diwakar.narayanaswamy
Hi, After ingesting a document(book), a pipeline executes an action module. The action module splits the document into chapters and ingest the chapters into MarkLogic one by one. Every thing is working fine, except the chapters are not getting ingested using xdmp:document-insert.

Re: [MarkLogic Dev General] document insert inside a cpf module

2014-12-08 Thread diwakar.narayanaswamy
Hi Dave, ? All of my logs are getting called including the one after the insert statement, I have pasted my code below. I tried inserting without xdmp:eval statement as well, but it did not work out xquery version 1.0-ml; import module namespace cpf = http://marklogic.com/cpf; at

Re: [MarkLogic Dev General] Relational operators on contraints

2014-11-26 Thread diwakar.narayanaswamy
Hi Dave, That didn't work either. Find below the code and response. import module namespace search =http://marklogic.com/appservices/search; at /MarkLogic/appservices/search/search.xqy; let $options := options xmlns=http://marklogic.com/appservices/search; constraint xmlns =

[MarkLogic Dev General] Relational operators on contraints

2014-11-25 Thread diwakar.narayanaswamy
Hi, I have created bucketed contraint as below on a date tag and i have created range index for the same. All i could use is ':' operator on the constraint while doing search. Am not able to using any relational operators. let $options := options

[MarkLogic Dev General] searching pdf content

2014-07-07 Thread diwakar.narayanaswamy
Hi, when i tried inserting a pdf into ML, it was stored as a binary. But the problem is i am not able to do any text search out of this pdf. since text files are searchable i tried inserting the pdf as a text file by specifying auto encoding in xdmp:document-load. But when i ran a

[MarkLogic Dev General] Stemming constraint

2014-01-16 Thread Diwakar.Narayanaswamy
Hi all, I have a document which has a word hearings. I tried searching the document using cts:search with that word. I got the document. Once again I tried searching the a same document by giving the word hearing. The corresponding document with the word hearings did not come in

[MarkLogic Dev General] search:search contraint help

2012-02-15 Thread Diwakar.Narayanaswamy
assigneesGeo address country iso-cc=CNPeople's Republic of China/lnvxe:country /address /assigneesGeo inventorsGeo address country iso-cc=INDPeople's Republic of China/lnvxe:country /address address country iso-cc=INDPeople's Republic of China/lnvxe:country/lnvxe:address /address