External ValueSource and value mapping

2010-05-11 Thread gabriele renzi
Hi everyone, I am trying to implement something akin to Solr's ExternalFileSource backed by a Map object with plain lucene (as we are working on top of an existing solution) and while it is easy to write a ValueSource that does it I have a problem with the mapping phase. Basically I have tried t

Re: DisjunctionMaxQuery and custom Sort

2010-03-05 Thread gabriele renzi
On Fri, Mar 5, 2010 at 10:42 AM, Ian Lea wrote: > From the javadocs for the search with sort method it appears you are calling: > > NOTE: this does not compute scores by default; use > IndexSearcher.setDefaultFieldSortScoring(boolean, boolean) to enable > scoring. > > > Sounds like you need to cal

DisjunctionMaxQuery and custom Sort

2010-03-05 Thread gabriele renzi
Hi everyone, In our search app we'd perform searches with a DisjunctionMaxQuery with code like searcher.search(query, hits) Now we'd like to add a custom sub-sort so that when the search returns two documents with the same score they will be ordered by a custom field (this is not a boost for t

Re: is Lucene 3.0 coming soon?

2009-10-17 Thread gabriele renzi
On Fri, Oct 16, 2009 at 12:31 PM, Grant Ingersoll wrote: > > On Oct 16, 2009, at 6:05 AM, Uwe Schindler wrote: > >> I would recommend to adopt your app to 2.9 and enable deprecation >> warnings. >> As soon as all deprecation warning disappear during compile, you are able >> to >> just go to 3.0 (j

Re: Proposal for changing Lucene's backwards-compatibility policy

2009-10-16 Thread gabriele renzi
On Fri, Oct 16, 2009 at 9:39 AM, Paul Elschot wrote: > I'd prefer B), with a minimum period of about two months to the > next release in case it removes deprecations. for what my vote counts, seconded - To unsubscribe, e-mail: