Re: lucene-core-3.0.3.jar | creating index too slow

2011-01-31 Thread Erdinc Akkaya
How about the code? What is the problem you think? Is it also taking long time to insert one document? I didnt have slow writing speed when upgrade. May be you can check http://lucene.apache.org/java/3_0_3/changes/Changes.html and your code 2011/1/31 Ranjit Kumar > Hi; > While I am

lucene-core-3.0.3.jar | creating index too slow

2011-01-31 Thread Ranjit Kumar
Hi; While I am creating index using lucene-core-3.0.3.jar it takes more time as compare too lucene-core-3.0.2.jar . Please give your suggestion. Thanks & Regards, Ranjit Kumar =

Re: AssertionError

2011-01-31 Thread Anuj Shah
On this issue, I ended up writing a simple interface and delegating proxy to use for calls to IndexWriter methods. It would be nice if future versions had an interface architecture around key components to promote unit testing. On 26 January 2011 17:27, Anuj Shah wrote: > Thanks Uwe, that does

Re: Sort results by number of document fields

2011-01-31 Thread Erik Hatcher
On Jan 31, 2011, at 10:51 , Azhar Jassal wrote: > How can I use Lucene to sort search results by the number of fields each > document has? (highest to lowest - documents with more fields in my index > are better results) When you know you need to query on something you have available during index

Sort results by number of document fields

2011-01-31 Thread Azhar Jassal
Hi, How can I use Lucene to sort search results by the number of fields each document has? (highest to lowest - documents with more fields in my index are better results) Also my fields are named as URI's i.e. "< http://www.w3.org/2000/01/rdf-schema#label>", how should I form queries with field n