hah, actually I tried with complete xpaths earlier but they weren't
working but that was because I had made a mistake in my foreach.. and
then I decided that probably the foreach and the other xpaths were
being concatenated.

however it is not absolutely correct yet, if I run
http://localhost:8983/solr/tester/dataimport?command=full-import&debug=true
I get

<response>
−
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">422</int>
</lst>
−
<lst name="initArgs">
−
<lst name="defaults">
<str name="config">dataimporter.xml</str>
</lst>
</lst>
<str name="command">full-import</str>
<str name="mode">debug</str>
−
<arr name="documents">
−
<lst>
−
<arr name="title">
<str>Forord (MomsManual)</str>
</arr>
</lst>
−
<lst>
−
<arr name="title">
<str>Abonnementsudgifter (MomsManual)</str>
</arr>
</lst>
−
<lst>
−
<arr name="title">
<str>Ab skf (MomsManual)</str>
</arr>
</lst>
−
<lst>
−
<arr name="title">
<str>Acontobeløb (MomsManual)</str>
</arr>
</lst>
−
<lst>
−
<arr name="title">
<str>Adgang til arrangementer (MomsManual)</str>
</arr>
</lst>
−
<lst>
−
<arr name="title">
<str>Administration, fast ejendom (MomsManual)</str>
</arr>
</lst>
−
<lst>
−
<arr name="title">
<str>Administrationsfællesskab (MomsManual)</str>
</arr>
</lst>
−
<lst>
−
<arr name="title">
<str>Administrationsydelser (MomsManual)</str>
</arr>
</lst>
−
<lst>
−
<arr name="title">
<str>Adsl (MomsManual)</str>
</arr>
</lst>
−
<lst>
−
<arr name="title">
<str>Advokatomkostninger (MomsManual)</str>
</arr>
</lst>
−
<lst>
−
<arr name="title">
<str>Afbestillingsgebyrer (MomsManual)</str>
</arr>
</lst>
</arr>
<lst name="verbose-output"/>
<str name="status">idle</str>
<str name="importResponse">Configuration Re-loaded sucessfully</str>
−
<lst name="statusMessages">
<str name="Total Requests made to DataSource">0</str>
<str name="Total Rows Fetched">22</str>
<str name="Total Documents Skipped">0</str>
<str name="Full Dump Started">2011-04-18 12:26:52</str>
−
<str name="">
Indexing completed. Added/Updated: 11 documents. Deleted 0 documents.
</str>
<str name="Total Documents Processed">11</str>
<str name="Time taken ">0:0:0.406</str>
</lst>
−
<str name="WARNING">
This response format is experimental.  It is likely to change in the future.
</str>
</response>

so the title fields
         <field column="title"     xpath="/ARTIKEL/DOKTITEL/OVERSKRIFT1" />
are being added but not the the text fields
 <field column="text"      xpath="/ARTIKEL/AKROP/TXT"  />

The most salient difference between these two is that will be more
than one TXT, I just tried with the parent element however and it
didn't do anything.

But when I do a search for MomsManual which you can see is in all the
title fields
I get
<response>
−
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">0</int>
−
<lst name="params">
<str name="indent">on</str>
<str name="start">0</str>
<str name="q">MomsManual</str>
<str name="version">2.2</str>
<str name="rows">10</str>
</lst>
</lst>
<result name="response" numFound="0" start="0"/>
</response>

:(

Thanks,
Bryan Rasmussen

On Mon, Apr 18, 2011 at 12:23 PM, lboutros <boutr...@gmail.com> wrote:
> did you try with the comlete xpath ?
>
> <field column="title"     xpath="/ARTIKEL/DOKTITEL/OVERSKRIFT1" />
> <field column="text"      xpath="/ARTIKEL/AKROP/TXT"  />
>
> Ludovic.
>
> -----
> Jouve
> France.
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/all-searches-return-0-hits-what-have-I-done-wrong-tp2833706p2833798.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to