. In the "UserQuery" tag in the XSL there is a
>> "fieldName" tag which is set to "description". The "jobDescription"
>> default fieldname passed to the XML parser would only be in effect for
>> any tags that didn't specify a fieldName..
The "jobDescription"
> default fieldname passed to the XML parser would only be in effect for any
> tags that didn't specify a fieldName..
>
> BTW, in the source distribution there are full "DTDdocs" for the XML
> syntax in contrib\xml-query-parser\docs
>
tags that didn't specify
a fieldName..
BTW, in the source distribution there are full "DTDdocs" for the XML syntax in
contrib\xml-query-parser\docs
Cheers
Mark
- Original Message
From: syedfa
To: java-user@lucene.apache.org
Sent: Wed, 23 December, 2009 5:03:00
Subje
Field.Index.ANALYZED_NO_NORMS));
> doc.add(new
> Field("description",st.nextToken(),Field.Store.YES,
> Field.Index.ANALYZED));
> writer.addDocument(doc);
&
ocess the line:
TopDocs topDocs = searcher.search(query, 10);
Does anyone know where I am going wrong?
Thanks in advance to all who reply.
--
View this message in context:
http://old.nabble.com/Need-help-with-XML-Query-Parser-example-in-Lucene-3.0-tp26896711p26896711.html
Sent from the Luce