[Hippo-cms7-user] Excluding property from Search

Jeroen Reijn j.reijn at onehippo.com
Tue Apr 3 11:16:30 CEST 2012


I guess that also depends on your deployment model.

If you would have CMS + repository and SITE + repository then it would
not be a problem.

Cheers,

Jeroen

On Tue, Apr 3, 2012 at 11:07 AM, Leeuwis, Laurens
<laurens.leeuwis at capgemini.com> wrote:
> Well, searching for that field from within the CMS would be very usefull, so excluding it from indexing isn't really an option.
>
> -----Original Message-----
> From: hippo-cms7-user-bounces at lists.onehippo.org [mailto:hippo-cms7-user-bounces at lists.onehippo.org] On Behalf Of Ard Schrijvers
> Sent: dinsdag 3 april 2012 11:04
> To: Hippo CMS 7 development public mailinglist
> Subject: Re: [Hippo-cms7-user] Excluding property from Search
>
> On Tue, Apr 3, 2012 at 10:52 AM, Leeuwis, Laurens
> <laurens.leeuwis at capgemini.com> wrote:
>> Dear Hippo dev's,
>>
>>
>>
>> I've got a case where I want to exclude a property from an HstQuery. How can
>> this be done?
>>
>>
>>
>> Usecase:
>>
>> I've got two document types:
>>
>> -          document type A has properties A1, A2, A3, A4 and redactornote
>>
>> -          document type B has properties B1, B2, B3, B4 and redactornote
>>
>> I want to find a query (filter.addEqualTo(".", query)), but exclude
>> redactornote from this query.
>>
>>
>>
>> One way to do this would be adding all kinds of OR-filters for A1, A2, A3,
>> A4, B1, B2, B3, B4 with the query, but this doesn't seem very efficitent (in
>> reality we've got lots more of properties and different document types
>> obviously).
>
> Do you never want to search in that 'redactornote' property? If so,
> you should be able to exclude it from indexing IIRC
>
> Regards Ard
>
>>
>>
>>
>> HELP J
>>
>>
>>
>> Thanks,
>> Laurens
>>
>>
>>
>>
>>
>>
>>
>> This message contains information that may be privileged or confidential and
>> is the property of the Capgemini Group. It is
>> intended only for the person to whom it is addressed. If you are not the
>> intended recipient, you are not authorized to
>> read, print, retain, copy, disseminate, distribute, or use this message or
>> any part thereof. If you receive this message
>> in error, please notify the sender immediately and delete all copies of this
>> message.
>>
>> _______________________________________________
>> Hippo-cms7-user mailing list and forums
>> http://www.onehippo.org/cms7/support/forums.html
>
>
>
> --
> Amsterdam - Oosteinde 11, 1017 WT Amsterdam
> Boston - 1 Broadway, Cambridge, MA 02142
>
> US +1 877 414 4776 (toll free)
> Europe +31(0)20 522 4466
> www.onehippo.com
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/forums.html
>
>
>
>
>
>
> This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is
> intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to
> read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message
> in error, please notify the sender immediately and delete all copies of this message.
>
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/forums.html



More information about the Hippo-cms7-user mailing list