[MarkLogic Dev General] Dynamic Faceting in Marklogic

2018-01-22 Thread Arvind Kumar
Hi All, We have requirement for dynamic faceting in a search application. It should enable facet on each field added while ingestion or updation. As per my understanding, we need to re configure index configuration each time while ingestion. But not sure how much it would be feasible. Is Marklogic

Re: [MarkLogic Dev General] Dynamic Faceting in Marklogic

2018-01-22 Thread Geert Josten
Hi Arvind, You can define indexes before or after (or during) uploading data. MarkLogic will automatically start reindexation if necessary. Defining indexes before ingestion is more efficient though. So, if you have a chance of ingesting a sample, deciding on indexes based on that, and then bul

[MarkLogic Dev General] Good Way to Automatical

2018-01-22 Thread Eliot Kimber
I'm putting together a script that will do all the configuration for a server all the way through defining a FlexRep app server, domains, and targets. The requirement is avoid the need for any manual intervention once the configuration is started. The one fly in this ointment is the CPF--since

Re: [MarkLogic Dev General] Good Way to Automatically Install CPF

2018-01-22 Thread Eliot Kimber
Correct subject line for this thread. Cheers, E. -- Eliot Kimber http://contrext.com On 1/22/18, 4:09 PM, "general-boun...@developer.marklogic.com on behalf of Eliot Kimber" wrote: I'm putting together a script that will do all the configuration for a server all the way through def

Re: [MarkLogic Dev General] Good Way to Automatically Install CPF

2018-01-22 Thread Eliot Kimber
I was pointed to the Scripting Content Processing Framework (CPF) Configuration chapter, which does seem to have the guidance I seek. I was focused on scripting FlexRep configuration and didn't fully appreciate the underlying requirement on CPF. I just wanted an Easy button In looking more

Re: [MarkLogic Dev General] Good Way to Automatical

2018-01-22 Thread Mary Holstege
There isn't a single API that orchestrates all the pieces, but there are APIs do do all the necessary parts in the pipelines and domains modules. These should be executed against your triggers database. If you share a triggers database, you don't need to do it all over again. p:insert to pu

Re: [MarkLogic Dev General] Good Way to Automatical

2018-01-22 Thread Eliot Kimber
I've taken the Admin install CPF script and reworked it as a function library and removed the code related to default domains (I don't want default domains in any case). What's left includes code to set up the pipelines and triggers, as described in the CPF Configuration chapter. *But* It als

Re: [MarkLogic Dev General] Good Way to Automatical

2018-01-22 Thread Geert Josten
I just wanted to mention you also have manage rest api to setup CPF: http://docs.marklogic.com/REST/management/content-processing-framework-(cpf ) Which is leveraged by ml-gradle for deployment of CPF: https://github.com/marklogic-community/ml-gradle/tree/625e3aaadeb58dfa9f040 46a31234b33724b4134/