RE: [MarkLogic Dev General] Configuring entity enrichment

2010-01-25 Thread Geert Josten
> Thanks - for a similar task (adding lat and long attributes to e:gpe > elements) I was using a custom pipeline however I had a few > issues with ensuring the step ran last (that will be a > question for another > day :) When whatever task you are doing needs to run after the CPF > has finished

Re: [MarkLogic Dev General] Configuring entity enrichment

2010-01-25 Thread Andrew Welch
2010/1/25 Geert Josten : > Hi Andrew, > >> Instead of making the range index on I will make it >> on a custom element, say .  Then after the cpf has >> finished, as an on-modify trigger, I can go through the >> elements and where they are castable as xs:date >> convert them to , and where they ar

RE: [MarkLogic Dev General] Configuring entity enrichment

2010-01-25 Thread Geert Josten
Hi Andrew, > Instead of making the range index on I will make it > on a custom element, say . Then after the cpf has > finished, as an on-modify trigger, I can go through the > elements and where they are castable as xs:date > convert them to , and where they aren't just remove > the markup. Y

Re: [MarkLogic Dev General] Configuring entity enrichment

2010-01-25 Thread Andrew Welch
al-boun...@developer.marklogic.com > [mailto:general-boun...@developer.marklogic.com] On Behalf Of Andrew Welch > Sent: Monday, January 25, 2010 3:18 AM > To: General Mark Logic Developer Discussion > Subject: Re: [MarkLogic Dev General] Configuring entity enrichment > > Ok, here'

RE: [MarkLogic Dev General] Configuring entity enrichment

2010-01-25 Thread Danny Sokolsky
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Andrew Welch Sent: Monday, January 25, 2010 3:18 AM To: General Mark Logic Developer Discussion Subject: Re: [MarkLogic Dev General] Configuring entity enrichment Ok, here's the current issue: - I'm using the entity enrichment p

Re: [MarkLogic Dev General] Configuring entity enrichment

2010-01-25 Thread Andrew Welch
Ok, here's the current issue: - I'm using the entity enrichment pipeline as part of the CPF - I would like to use a range index on e:date - Currently words like "Monday" are being marked up with e:date - When attempting to load any doc that contains a non-xs:date for an e:date, I get the exception

RE: [MarkLogic Dev General] Configuring entity enrichment

2010-01-22 Thread Danny Sokolsky
     it might be not a valid social > security number. > > Does that help? > > -Danny > > -Original Message- > From: general-boun...@developer.marklogic.com > [mailto:general-boun...@developer.marklogic.com] On Behalf Of Andrew Welch > Sent: Thursday, January

Re: [MarkLogic Dev General] Configuring entity enrichment

2010-01-22 Thread Andrew Welch
     it might be not a valid social > security number. > > Does that help? > > -Danny > > -Original Message- > From: general-boun...@developer.marklogic.com > [mailto:general-boun...@developer.marklogic.com] On Behalf Of Andrew Welch > Sent: Thursday, January 21, 2010 7:11

RE: [MarkLogic Dev General] Configuring entity enrichment

2010-01-21 Thread Danny Sokolsky
r. Does that help? -Danny -Original Message- From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Andrew Welch Sent: Thursday, January 21, 2010 7:11 AM To: General Mark Logic Developer Discussion Subject: [MarkLogic Dev General] Configur

[MarkLogic Dev General] Configuring entity enrichment

2010-01-21 Thread Andrew Welch
Hi, Is there a way to configure what the entity enrichment marks up? Two things mainly: 1. Can I tell it not to mark up certain "types" that I don't need enriched, such as urls? (looking for the right word there) 2. Given a type, such as , can I configure what will match as a date? Currently