I'm a new user to Xindice and I just installed the software.
I can't understand what it is necesary for starting to work;
I did not get an answer throught the user list.

What is xIndice with Tomcat?. Is it necessary install Tomcat to work with xIndice????


1.- I need a database : ok, I installed xIndice and jdk1.4 on UNIX.
 It works ok. I started the server and I added documents.

  My document is like this :

  <?xml version="1.0" encoding="iso-8859-1" ?>
  <RithSongs>
  <RithSong class="RithSong" RithSong_id="1">
    <people class="Object" multi="yes" ord="0">
       <idpeople class="String">15043</idpeople>
       <namepeople class="String">CARLOS VIVES</namepeople>
    </people>
    <title class="String">EL AMOR DE MI TIERRA</title >
    <playlist class="Object" multi="yes" ord="0">
         <vol class="String">1</vol>
         <list class="Object" multi="yes" ord="0">
          <num class="String">1</num>
          <idgrab class="String">1</idgrab>
          <title class="String">El Amor de mi Tierra</title>
          <ean class="String">4:35</ean>
         </list>
    </playlist>
  </RithSong>
  <RithSong class="RithSong" RithSong_id="2">
    <people class="Object" multi="yes" ord="0">
       <idpeople class="String">15004</idpeople>
       <namepeople class="String">A DOS VELAS</namepeople>
    </people>
    <title class="String">POR UN AMOR</title >
    <playlist class="Object" multi="yes" ord="0">
         <vol class="String">1</vol>
         <list class="Object" multi="yes" ord="0">
          <num class="String">1</num>
          <idgrab class="String">2</idgrab>
          <title class="String">Por un Amor</title>
          <ean class="String">3:58</ean>
         </list>
    </playlist>
  </RithSong>
  </RithSongs>

The Collection is : /db/Rith/RithSong

This collection has two documents : about 2Mb and 3Mb.

�What about the size of the documents?

I created three indexes :
 - ididx on RithSong_id : 5' 47s 37ms
   xindiceadmin ai -c /db/Rith/RithSong -n ididx -p RithSong_id -t int
 
 - titleidx on title : 1' 12s 13ms
   xindiceadmin ai -c /db/Rith/RithSong -n titleidx -p title -t string
  
 - idgrabidx on idgrab : 55s 368ms
   xindiceadmin ai -c /db/Rith/RithSong -n idgrabidx -p playlist/list/idgrab -t int

When you create an index, how do yo know it is correct? I created an index with the parameter -p badly(because
the element didn't exist) and the server only told me the time and it was created.

2.- I want to use xpath in my querys and the querys are very slow �why?

 xindice xpath -c /db/Rith/RithSong -q "//[EMAIL PROTECTED]"3\"]"
 
 xindice xpath -c /db/Rith/RithSong -q "/RithSongs/RithSong[title=\"EL AMOR DE MI TIERRA\"]"
 
 xindice xpath -c /db/Rith/RithSong -q "/RithSongs/RithSong/playlist/list[idgrab=\"1\"]"
 

3.- I want to get querys via http from a browser and from a remote machine and I installed xml-http.
    In Unix don't work any query.
   
    I installed xindice,jdk and xml-http in windows 2000 and the querys works but
    only those to get the whole document but those with xpath do not works.

    Please, could anybody tell me which software is necessary?
   
    Please, could anybody tell me which would be the command from the browser to get the RithSong with ean=3:58???

4.- I need to modify data how execute a command to modify?For example, write ean= 23:2 where idgrab=2

5.- If anybody has worked with Xindice and Tamino, I would like his comments about them.


Thanks for any advice!

 


Yahoo! M�viles
Personaliza tu m�vil con tu logo y melod�a favorito

Reply via email to