[opencms-dev] Excluding resources in subfolders from a Lucene search?

Andrea Puddu docpuddu at tiscali.it
Mon Mar 1 16:56:28 CET 2010


Ciao Alessio,
to be precise, Lucene doesn't search on folders or subfolder... it 
searches on indexes.

So it depends on how you instruct the search management and more 
specifically  which folders are part of the index's 'source'.

HTH, otherwise ask more... :-)
/A

---------------------------
Andrea Puddu
docpuddu at tiscali dot it
http://www.linkedin.com/in/andreapuddu
-------------------------------------------



Alessio Raggi ha scritto:
> Hello,
> I know that it is possible to restrict the results of a Lucene search 
> to resources below a certain folder, but this seems to always include 
> resources inside subfolders too. Is there a way to restrict the 
> results only to that certain folder excluding the subfolders?
>
> Regards,
> Alessio
>
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list