CPU usage increased using 3.4.0

2012-05-22 Thread NeelamSharma
Hello, I have wrote a crawling and indexing program using 3.0.3 version. It works fine. CPU usage remain around 30%. In November, 2011 I have upgraded Lucene 3.4.0 version, trying crawling and indexing with this version, it increased CPU usage to 100%. Can any one please help me out about decreasi

Re: Per User filtering of public/common documents

2012-05-22 Thread Apostolis Xekoukoulotakis
Thanks Ian.. I am reading lucene code to understand how it works. It seems that lucene 4 will be implementing docValues, that will contain a field value per doc in a data structure that will be easily used during the scoring process. This data structure will also allow for a lot of updates to happ

Re: Searching accross 2 fields

2012-05-22 Thread mark harwood
>>Thanks! Are there any good examples I can look at? Mike did a good write-up here:http://blog.mikemccandless.com/2012/01/searching-relational-content-with.html >>In below example I want to search for form.id..Does this also fall under >>"cross matching" solution that you described? "Cross

Re: Performance of storing data in Lucene vs other (No)SQL Databases

2012-05-22 Thread Konstantyn Smirnov
simple what is the speed of indexing of document with stored fields? what is the retrieval rate? how good can it scale? How good performs the MongoDB and other within the same discipline? Has anyone conducted such comparison-tests? To dump like 1 mio documents into the index (with the single inde

Re: sort question

2012-05-22 Thread Ian Lea
Sorting beats scoring - that's what it's for. If you want scoring to win, don't sort. If you want particular searches to score higher than others, look at boosting. If you want to mix and match you can do that too: run multiple searches, with or without sorting, your choice, and merge the result

Re: lucene (search) performance tuning

2012-05-22 Thread Ian Lea
Lots of good tips in http://wiki.apache.org/lucene-java/ImproveSearchingSpeed, linked from the FAQ. -- Ian. On Tue, May 22, 2012 at 2:08 AM, Li Li wrote: > something wrong when writing in my android client. > if RAMDirectory do not help, i think the bottleneck is cpu. you may try to > tune jvm

Re: Performance of storing data in Lucene vs other (No)SQL Databases

2012-05-22 Thread findbestopensource
Just updated my view in the article.. Feel free to add your comments.. http://www.findbestopensource.com/article-detail/lucene-solr-as-nosql-db Regards Aditya www.findbestopensource.com On Mon, May 21, 2012 at 2:25 PM, Shashi Kant wrote: > A related thread on Stackoverflow: > > http://stackov