One simple way to do this would be to use collections.  If you execute the
search against a collection or set of collections in which only your target
documents are contained, non-target documents will be excluded.

For example, a collection called "T" could include a.xml and c.xml.  b.xml
would NOT belong to "T".  Depending on what you're trying to accomplish,
that may be reasonable.  It's another case where *planning* the
*organization* of your content (with respect to directories, collections,
etc.) can make life easier or harder down the road.  I'd look for a natural
way to partition your content using collections in a way that benefits all
or many of your queries.

Karl

On Mon, Dec 28, 2009 at 7:08 AM, judie pearline <[email protected]>wrote:

>  Hi all,
>
> Is there any way we can exclude a xml file from search. i.e The
> search should not retrieve the search results from a particular xml file.
>
> *For example :*
> i am having a.xml, b.xml and c.xml. When i perform a search, it should not
> retrieve the results from b.xml even though the content in the b.xml matches
> with the search string.
>
> Regards,
> Judie
>
>
> ------------------------------
> The INTERNET now has a personality. YOURS! See your Yahoo! 
> Homepage<http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/>
> .
>
> _______________________________________________
> General mailing list
> [email protected]
> http://xqzone.com/mailman/listinfo/general
>
>
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to