Re: Multiple sort field

2012-07-17 Thread Ganesh
Any thoughts on this? Regards Ganesh - Original Message - From: "Ganesh" To: Sent: Tuesday, July 17, 2012 4:23 PM Subject: [Bulk] Multiple sort field Hello all, I have more than one record having same time stamp. When i sort by date time in decending order, the set of records which

Lucene 2.x to 4.x upgrade possible?

2012-07-17 Thread Nilesh Vijaywargiay
Hi Folks, I need your help in determining whether we upgrade to 3.6 or wait till 4.0 becomes stable. We are currently using 2.x version of lucene and would like to upgrade to 3.6(and 4.0 ultimately). But we were informed by few blogs that 4.0 will not be backward compatible which means that the o

RE: Lucene reorganizing indexes

2012-07-17 Thread Scott Smith
It's lucene -Original Message- From: Ralf Heyde [mailto:ralf.he...@gmx.de] Sent: Monday, July 16, 2012 10:42 PM To: java-user@lucene.apache.org Subject: AW: Lucene reorganizing indexes Do you use Lucene or Solr? We faced the problem in Solr due too big Caches, which where (re)warmed up

[ANNOUNCE] Luke 4.0.0-ALPHA released

2012-07-17 Thread Andrzej Bialecki
Hi all, I'm happy to announce the release of Luke - The Lucene Index Toolbox for Lucene 4.0.0-ALPHA. Standalone binary and sources are available as usual from: http://code.google.com/p/luke Changes in v. 4.0-ALPHA (released on 2012.07.17): ---

TermEnum.docFreq() includes deleted docs

2012-07-17 Thread Roman Chyla
Hi, Tests show that TermEnum.docFreq() returns sum of all docs, including the deleted ones. Which seems to (indirectly) contradict the javadoc This frequency count is used to compute uninverted index (DocTermOrds.uninvert()). The code goes like: final int df = te.docFreq(); if (df <=

Re: FilteredQuery returning entire index

2012-07-17 Thread James Nolan
Hello all! I solved my problem by short-circuting the filter part of the query and adding my checks during the getFilteredScorer method of my extended org.apache.lucene.search.FilteredQuery class. In here, the documents referenced are part of the results set and I can add my post search filtering

Re: Offsets in 3.6/4.0

2012-07-17 Thread karsten-solr
Dear Carsten, your question was about the purpose of the offset-Attribute and the reader.getTermFreqVector method. You have asked because this method is not very fast. imho main reason for TermFreqVectors is highlighting. (FastVectorHighlighter and DefaultSolrHighlighter#doHighlightingByHighligh

Re: Offsets in 3.6/4.0

2012-07-17 Thread Carsten Schnober
Am 16.07.2012 13:07, schrieb karsten-s...@gmx.de: Dear Karsten, > abstract of your post: > you need the offset to perform your search/ranking like the position is > needed for phrase queries. > You are using reader.getTermFreqVector to get the offset. > This is to slow for your application and

Multiple sort field

2012-07-17 Thread Ganesh
Hello all, I have more than one record having same time stamp. When i sort by date time in decending order, the set of records which have same time stamp are displayed in the order of insertion. Basically it is displayed with asscending order of docid. But i want the reverse of that. Consider