Thanks JC,
I tried this, i was missing <create qname="docid" type="xs:string"/> , but it's still doesn't work :(
Marc
2006/4/20, Jean-Christophe Kermagoret <
jck-qkEci4++Hf1AfugRpC6u6w@xxxxxxxxxxxxxxxx>:Marc, you have to reindex your collection. But you have to create indexes in
your /db/system/config/db/atlantic-events/www.atlantic-events.com with something like that :
<collection xmlns="http://exist-db.org/collection-config/1.0
"> <index> <fulltext default="all" attributes="true"/>
<create qname="id" type="xs:string"/> <create qname="code" type="xs:string"/>
<create qname="docid" type="xs:string"/>
<create path="meta/title" type="xs:string"/> <create path="meta/author" type="xs:string"/>
<create path="meta/doctype" type="xs:string"/> <create path="version/date" type="xs:string"/> <create path="meta/dtstart" type="xs:string"/>
<create path="meta/dtend" type="xs:string"/> <create path="meta/location" type="xs:string"/> <create path="meta/name" type="xs:string"/>
<create path="meta/state" type="xs:string"/> <create path="meta/publication" type="xs:string"/> <create path="meta/category" type="xs:string"/>
<create path="meta/field" type="xs:string"/> <create path="meta/num" type="xs:string"/> <create path="meta/publicationDate" type="xs:string"/>
<create path="meta/expirationDate" type="xs:string"/> <create path="meta/retireDate" type="xs:string"/> <create path="meta/removalDate" type="xs:string"/>
</index> </collection>
JC
Marc Salvetti a écrit : > I'm trying to implement a join in my query. > After looking at the code in lib/join.xqm, i see that the function is
> used to process the join. > > I have a doc that contains the info to join. this doc have a > <docid>20060420160933739_787860098984</docid> > > If i try util:qname-index-lookup( xs:QName("docid"),
> '20060420160933739_787860098984' )/.. in the exist client, i don't get > the doc, > but if i try /document[docid='20060420160933739_787860098984'] i get it > correctly. > > Is there a known problem with this function ? Maybe i have to reindex
> the collection or something like that ? > > Marc > > > ------------------------------------------------------------------------ > > _______________________________________________
> User mailing list > User-E0IXfuzpajFHgg9j4ji3+w@xxxxxxxxxxxxxxxx > http://mlm.triglyphe.com/mailman/listinfo/user
--
BlueXML Jean-Christophe Kermagoret Directeur associé jck-qkEci4++Hf1AfugRpC6u6w@xxxxxxxxxxxxxxxx
_______________________________________________ User mailing list
User-E0IXfuzpajFHgg9j4ji3+w@xxxxxxxxxxxxxxxx http://mlm.triglyphe.com/mailman/listinfo/user
_______________________________________________
User mailing list
User-E0IXfuzpajFHgg9j4ji3+w@xxxxxxxxxxxxxxxx
http://mlm.triglyphe.com/mailman/listinfo/user
|