Hey Tim,

As mentioned before, strict-property-contains is already available in
the dasl package.
I've just added these expressions to the hst:
-(not-)strict-property-contains
-(not-)property-contains
-(not-)propcontains
-propsearch
These are available in the trunk.

Regards,

Mike Meijnhard
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466
San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA
94952-3329 +1 (707) 773-4646
www.onehippo.com [EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of toolman
Sent: dinsdag 22 april 2008 12:22
To: Hippo CMS development public mailinglist
Subject: RE: [HippoCMS-dev] Java DASL building: request for more
expressions.

Jasha;

The DASL stuff works fine - its the *creation* of DASL via the Java API
that is incomplete...

QueryExpression propContains =
QueryExpression.getQueryExpression(QueryExpression.???)

There is no way to specify the expressions not implemented -
specifically the SLIDE ones...

Thanks,

Tim


On Tue, 2008-04-22 at 12:06 +0200, Jasha Joachimsthal wrote:
> Hi Tim,
> 
> Are you sure that your namespace configuration is correct?
> S:property-contains should work, but your property must be indexed 
> different.
> Let's say you have a property called "keywords" which contains values 
> as "key1,key2,key3". Your indexer should contain
>         <property
>
analyzer="nl.hippo.slide.index.analysis.LowercaseCommaSeparatedAnalyzer"
> name="keywords" namespace="http://hippo.nl/cms/1.0"; type="text"/>
> 
> Regards,
> 
> Jasha Joachimsthal
> 
> www.onehippo.com
> Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466

> San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA
> 94952-3329 +1 (707) 773-4646
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of 
> > toolman
> > Sent: dinsdag 22 april 2008 11:21
> > To: hippo-mailing-list
> > Subject: [HippoCMS-dev] Java DASL building: request for more 
> > expressions.
> > 
> > Hello all,
> > 
> > We are using the (new) java API to construct DASL queries.
> > (nl.hippo.client.dasl.Query and its related classes).  I know this 
> > is a work-in-progress, but support for the nonstandard dasl elements

> > (i.e.
> > the Slide namespaced ones) would be useful soon!
> > 
> > Explicitly, we need use of the following:
> > 
> > <S:strict-property-contains>
> > <S:property-contains>
> > 
> > An interim solution might be to allow Strings to be insterted and we

> > can build those fragments in StringBuffers until the API is 
> > completed.
> > 
> > Thanks,
> > 
> > Tim Toolman.
> > ********************************************
> > Hippocms-dev: Hippo CMS development public mailinglist
> > 
> ********************************************
> Hippocms-dev: Hippo CMS development public mailinglist
> 
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Reply via email to