Re: how to selectively sort records keeping some at the bottom always.. ?

2009-08-30 Thread Preetam Rao
Thanks Yonik. It was very useful. On Sat, Aug 29, 2009 at 3:11 AM, Yonik Seeley yo...@lucidimagination.comwrote: On Thu, Aug 27, 2009 at 10:29 AM, Preetam Raoblogathan@gmail.com wrote: Hi, If I have documents of type a, b and c but when I sort by some criteria, lets say date, can I

how to selectively sort records keeping some at the bottom always.. ?

2009-08-27 Thread Preetam Rao
Hi, If I have documents of type a, b and c but when I sort by some criteria, lets say date, can I make documents of kind c always appear at the bottom ? So effectively I want one kind of records always appear at the bottom since they don't have valid data, whether sort is ascending or descending;

Re: performance implications on using lots of values in fq

2008-07-24 Thread Preetam Rao
I don't have much idea on performance of these many fqs, since I have usually used very small number of fqs. But passing my thoughts hoping it might help. (since I did not see any response :-) a) the filter cache size needs to be more, so that fqs can be cached. If a fq is not in cache, AFAIK,

Re: Solr/Lucene search term stats

2008-07-22 Thread Preetam Rao
hi, try using faceted search, http://wiki.apache.org/solr/SimpleFacetParameters something like facet=truefacet.query=title:(web2.0 OR ajax) facet.query - gives the number of matching documents for a query. You can run the examples in the above link and see how it works.. You can also try using

Re: Filter by Type increases search results.

2008-07-18 Thread Preetam Rao
add a debugQuery=true parameter to check the actual parsed query. -Chris On Tue, Jul 15, 2008 at 10:47 PM, Yonik Seeley [EMAIL PROTECTED] wrote: On Tue, Jul 15, 2008 at 11:10 AM, Norberto Meijome [EMAIL PROTECTED] wrote: On Tue, 15 Jul 2008 18:07:43 +0530 Preetam Rao [EMAIL

Re: Multiple query fields in DisMax handler

2008-07-17 Thread Preetam Rao
If I understand the question correctly, you can provide init params, default params and invariant params in the appropriate request handler section in solrconfig.xml. So you can create a standard request handler with name dismaxL, whose defType is dismax and set all parameters in defaults section.

Re: Multiple query fields in DisMax handler

2008-07-17 Thread Preetam Rao
On Thu, Jul 17, 2008 at 5:18 PM, Preetam Rao [EMAIL PROTECTED] wrote: If I understand the question correctly, you can provide init params, default params and invariant params in the appropriate request handler section in solrconfig.xml. So you can create a standard request handler with name

Re: Multiple query fields in DisMax handler

2008-07-17 Thread Preetam Rao
.. --- preetam On Thu, Jul 17, 2008 at 6:21 PM, Preetam Rao [EMAIL PROTECTED] wrote: I see that a QParser takes local params (those given via {!...} )as well as request params. It sets the lookup chain as local followed be request params. AFAIK, the request param lookup chain is set up

Dismax request handler and sub phrase matches... suggestion for another handler..

2008-07-15 Thread Preetam Rao
Hi, Apologies if you are receiving it second time...having tough time with mail server.. I take a user entered query as it is and run it with dismax query handler. The documents fields have been filled from structured data, where different fields have different attributes like number of beds,

Re: Dismax request handler and sub phrase matches... suggestion for another handler..

2008-07-15 Thread Preetam Rao
PROTECTED] wrote: On Jul 15, 2008, at 4:45 AM, Preetam Rao wrote: What are your thoughts on having one more request handler like dismax, but which uses a sub-phrase query instead of dismax query ? It'd be better to just implement a QParser(Plugin) such that the StandardRequestHandler can use

Re: Filter by Type increases search results.

2008-07-15 Thread Preetam Rao
Hi Matt, Other than applying one more fq, is everything else remains same between the two queries, like q and all other parameters ? My understanding is that, fq is an intersection on the set of results returned from q. So it should always be a subset of results returned from q. So if one uses

Re: Filter by Type increases search results.

2008-07-15 Thread Preetam Rao
. (followed by 9 docs) -Matt Preetam Rao wrote: Hi Matt, Other than applying one more fq, is everything else remains same between the two queries, like q and all other parameters ? My understanding is that, fq is an intersection on the set of results returned from q. So

Re: estimating memory needed for solr instances...

2008-07-10 Thread Preetam Rao
if you *do* sort by something other than score: http://www.nabble.com/try-setting-useFilterForSortedQuery-to-false-td7822871.html#a7822871 Cheers, Chris On Wed, Jul 9, 2008 at 12:00 AM, Preetam Rao [EMAIL PROTECTED] wrote: Since we do not sort the results, the sort will be by score which

estimating memory needed for solr instances...

2008-07-09 Thread Preetam Rao
Hi, Since we plan to share the same box among multiple solr instances on a 16gb RAM multi core box, Need to estimate how much memory we need for our application. The index size is on disk 2.4G with close to 3 million documents. The plan is to use dismax query with some fqs. Since we do not sort

Re: estimating memory needed for solr instances...

2008-07-09 Thread Preetam Rao
the performance boost needed. If I misread the thread, please chime in - but it seems having enough RAM is the key to performance. On Wed, Jul 9, 2008 at 3:00 AM, Preetam Rao [EMAIL PROTECTED] wrote: Hi, Since we plan to share the same box among multiple solr instances on a 16gb RAM multi

Re: Integrate Solr with Tomcat in Linux

2008-07-08 Thread Preetam Rao
set the solr home folder such that- If you are using jndi name for solr.home or command line argument for solr.home, then it will look for conf and lib folders under that folder. If you are not using jndi name, then it looks for solr/conf and solr/lib folders under current directory which is the