hi torgeir,

just the term that you are looking for will search all properties.
just like in google.

if you want to limit the query to a certain property you prepend its name
separated by a colon. some examples.

foo                       // -> will find foo in all properties
title:foo                 // -> will find foo in a title properties
title:foo bar           // -> will find all nodes that contain bar and
have foo in its title
author:torgeir        // -> will find all nodes that have a property
author that contains torgeir

i am sure that if you would like to put some examples on the wiki that would
be highly appreciated.

regards,
david


On Fri, Dec 5, 2008 at 12:57 PM, Torgeir Veimo <[EMAIL PROTECTED]> wrote:
>
> On 5 Dec 2008, at 21:37, Marcel Reutegger wrote:
>
>> Torgeir Veimo wrote:
>>>
>>> On 2 Dec 2008, at 23:45, Jukka Zitting wrote:
>>>
>>>> * Simple Google-style query language. The new GQL query syntax
>>>>  makes it very easy to express simple full text queries.
>>>
>>>
>>> How do I do a full text search, ie searching for something in _all_
>>> attributes, with this new syntax? Or is this not possible atm?
>>
>> you simply type in a term. GQL will translate that into a jcr:contains()
>> on the
>> context nodes. though, I'm not sure if that's what you want...
>
>
> You mean content nodes?
>
> I was hoping that there was a way to search any attribute. I can of course
> do some hacks where as I concatenate the property values of all the
> attributes and put the string into a 'catchall' property, but i think such a
> search would be better handled in the indexing system.
>
>
> --
> Torgeir Veimo
> [EMAIL PROTECTED]
>
>
>
>
>



-- 
Visit: http://dev.day.com/

Reply via email to