Have you set the "df" or "qf" parameter in solrconfig.xml or your query to "title" or are you specifying the "title" field in your query? Which query parser are you using?

Try query of "*:*" and see if the document actually got added.

-- Jack Krupansky

-----Original Message----- From: Alexander Troost
Sent: Wednesday, September 26, 2012 7:09 AM
To: solr-user@lucene.apache.org
Subject: Problem with post.jar

Hello *!

i am using the post.jar-file to index documents.

I made my own XML and wanted to post it with the jar-file to SOLR. It looks
like this:

add><doc><field name="id">0000000021</field><field
name="title">GENESIS</field><field name="description">BUCH DER
ANFÄNGE</field></doc><doc><field name="id">0000000022</field><field
name="title">EXODUS</field><field name="description">BUCH DER
ERLÖSUNG</field></doc><doc><field name="id">0000000023</field><field
name="title">LEVITICUS</field><field name="description">BUCH DER
ANBETUNG</field></doc><doc><field name="id">0000000024</field><field
name="title">NUMERI</field><field name="description">BERICHT VON DEN
ERFAHRUNGEN EINES VOLKES</field></doc><doc><field
name="id">0000000025</field><field name="title">DEUTERONOMIUM</field><field
name="description">BUCH DER UNTERWEISUNG</field></doc></add>


In the command-line theres no warning or exeption, but if i try to seach
for "GENESIS" i get no response... where is my mistake?

Kind regards

Alex

Reply via email to