Re: Need help with XML Query Parser example in Lucene 3.0

2009-12-23 Thread syedfa
. 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..

Re: Need help with XML Query Parser example in Lucene 3.0

2009-12-23 Thread syedfa
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 >

Re: Need help with XML Query Parser example in Lucene 3.0

2009-12-23 Thread mark harwood
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

Re: Need help with XML Query Parser example in Lucene 3.0

2009-12-22 Thread syedfa
Field.Index.ANALYZED_NO_NORMS)); > doc.add(new > Field("description",st.nextToken(),Field.Store.YES, > Field.Index.ANALYZED)); > writer.addDocument(doc); &

Need help with XML Query Parser example in Lucene 3.0

2009-12-22 Thread syedfa
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