Hi Markus,

thanks for the info, it looks simple this way,

Jorgen

Quoting Markus Strickler <[email protected]>:

Hi Jorgen,

I don't think simpelsearch can do this, but it can be easily
accomplished using the JCR API.

You might want to look at the devsearch.jsp Template in
src\webapp\templates\jsp\samples\search for some example.

Basically you do something like:

Query q = SessionAccessControl.getQueryManager(request).createQuery("SELECT * FROM nt:base where jcr:path like '/%' and title like
'TitleToSearchFor'", 'sql');
result = q.execute();

See the JCR Specification for more details on searching the repository.

-markus

> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 25, 2006 3:29 PM
> To: [email protected]
> Subject: [magnolia-user] search on ,for instance, title of a page
>
> Hi,
>
> is it possible to narrow the results of simplesearch to only those
> pages with for instance title=query? How can this be done? Any
> suggestions?
>
> Jorgen Leijenaar
>
>
>
>
> ----------------------------------------------------------------
> for list details see
> http://www.magnolia.info/en/magnolia/developer.html
> ----------------------------------------------------------------
>


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------






----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to