xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerardo Leon Eivet" <eive...@hotmail.com>
Subject RE: Xpath no find all results!
Date Mon, 23 Jun 2003 22:04:38 GMT

the collecion is   /tiplaboral/actor/A/A

the estructure in  documento is

<actor NUMERO="05250" ANIO="2002" NUM_JUNTA="10" MUNICIPIO="000002" SEXO="F" 

from line command the  xpath set is:xindice xpath_query -c 
/db/kiosco_rh/tiplaboral/A/A  -q /ACTOR[@NOMBRE='ANTONIO']

this is very strange because only find  one document.
I am  sure that exist more then  20 documents, where the  attribute 

with java I use the method

XPathQueryService service =
            (XPathQueryService) col.getService("XPathQueryService", "1.0");
         ResourceSet resultSet = service.query(xpath);
         ResourceIterator results = resultSet.getIterator();
         while (results.hasMoreResources()) {
            Resource res = results.nextResource();
            System.out.println((String) res.getContent());

only find one resulset or 10 resulset.

before days the collection only have 300 documents. If I try find a document 
with xpath
the resultset was very well.
Now with more 1000 documets, not find all documents.

Do you can help me?

Lo que se me hace raro es que  la coleccion tiene mas de 1000 documentos y 
por eso no este encontrando todos.


>From: "Kevin Ross" <Kevin.Ross@iVerticalLeap.com>
>Reply-To: xindice-users@xml.apache.org
>To: <xindice-users@xml.apache.org>
>Subject: RE: Xpath no find all results!
>Date: Mon, 23 Jun 2003 16:39:16 -0600
>Please provide a sample document and the xpath query you are using.
>-----Original Message-----
>From: Gerardo Leon Eivet [mailto:eivet75@hotmail.com]
>Sent: Monday, June 23, 2003 3:22 PM
>To: xindice-users@xml.apache.org
>Subject: Xpath no find all results!
>Hi Kevin
>I from Mexico, my speak english not's very well.
>I have a problem.
>I tried a xpath in collection.
>Collection have a 1000 documents.
>I sure have 20 documents with the attribute nombre='ANTONIO'
>the resulset only find one!!
>Do you can help me?
>Únete al mayor servicio mundial de correo electrónico:

Charla con tus amigos en línea mediante MSN Messenger:  

View raw message