Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#16 XML et PropertyNames printing results

closed
nobody
None
5
2003-11-21
2001-04-19
Anonymous
No

I make this query :
./swish-e -f Katia.idx -w NIC=0017 -p NAF NIC

Here is the XML file :

<ROOT>

<COUNTRY>
<nic>0017</nic>
<naf>china</naf>
</COUNTRY>

<COUNTRY>
<nic>0013</nic>
<naf>japan</naf>
</COUNTRY>

</ROOT>

I get this result :

1000 ./test/005403.txt "005403.txt" 57 1 "japan" "0013"

And the good result shall be :

1000 ./test/005403.txt "005403.txt" 57 1 "china" "0017"

Allways the last information in the file is printed
and not the RIGHT information.

Discussion

  • Prosper Correa
    Prosper Correa
    2001-04-22

    Logged In: YES
    user_id=200114

    Is it possible to fix it ?

    I do relly nned such a feature ;-)

    Thanx in advance,

    PIC

     
  • Bill Moseley
    Bill Moseley
    2001-04-22

    Logged In: YES
    user_id=109620

    Hi,

    Why should you get one over the other? Swish indexes
    documents and you are trying to index a document with
    multiple sections, it seems. Swish does have some support
    for this, but not currently the way you are using it.

    My recommendation is to move this question to the swish-e
    discussion list. http://sunsite.berkeley.edu/SWISH-E/ You
    will get better help there.

     
  • Bill Moseley
    Bill Moseley
    2003-11-21

    • status: open --> closed