logo       

Fulltext search in content return match in attributes ?: msg#00049

text.xml.exist

Subject: Fulltext search in content return match in attributes ?

Hi,

When I am searching for nodes containing a spécific word in the content, the
result set returns
some nodes where the match is included in an attribute value.

For example :
collection('/db/bv/rules/en_03')/dy:fragment/dy:content//P[. &= 'carriers']

returns

<P >
<CLN > Livestock carrier </ CLN >
, for ships specially intended to carry livestock. The additional
requirements of
<R REFID ="n000100050003" TYPEX ="R" GI ="CHAP" LABEL ="Chapter 3 Livestock
carriers " > Part E, Chapter 3 </ R >
are applicable to these ships.
</ P >

Is it normal ?

I do not put any index options in my conf.xml file in order to specify to index
or not attributes.
Does putting /exist/indexer/index[@doctype='my-doctype']/@attributes to false
may resolve
the problem ?
How to distinguish a fulltext search in content or in attributes ?


regards

-- bruno --
Bruno Chatel
Tel : (+33) (0)4 96 11 14 57
bcha@xxxxxxxxxxx
--------------------------------------



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise