ouupps,

the correct syntax is :

searchQuery + " AND (pageid:10 OR pageid:11 OR pageid:20...)"



----- Original Message ----- 
From: "Khue Nguyen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 16, 2004 2:15 PM
Subject: Re: limiting search to certain pages only?


> Hi,
>
> one possible way is construct you search query with all allowed pages,
like
> :
>
> searchQuery + " AND (pageId:10 OR pageId:11 OR pageId:20...)"
>
>
> Regards,
> Khue Nguyen
>
>
>
> ----- Original Message ----- 
> From: "Jurjan-Paul Medema" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, June 14, 2004 5:37 PM
> Subject: limiting search to certain pages only?
>
>
> > Hello list,
> >
> > Would it be possible to tell the search engine to only search certain
> > pages (excluding the top level for instance?)
> > (Filtering the results after the search almost works OK, except for the
> > paging, wich is then based on a wrong hit count...)
> >
> > (This is the JSP snippet I am using right now:
> >             <form name="searchForm" method="get"
> > action="<%=jData.gui().html().drawSearchLauncher()%>">
> >               <p>
> >                  <input name="search" class="formVeldLogin" type="text"
> > />&nbsp;&nbsp;
> >                  <input class="button" value="zoeken" type="submit" />
> >               </p>
> >             </form>
> > )
> >
> > Thanks,
> >   Jurjan-Paul
> >
> > -- 
> > ----- ---- --- -- - - - - - - - -
> > J.P. Medema
> > E: [EMAIL PROTECTED]
> > ----- ---- --- -- - - - - - - - -
> >
> >
>
>


Reply via email to