Re: Solr GC issues - Too many BooleanQuery & BooleanClause objects in heap

2012-11-13 Thread Prasanna R
l). > > Otis > -- > Performance Monitoring - http://sematext.com/spm/index.html > > > On Mon, Nov 12, 2012 at 8:35 PM, Prasanna R wrote: > > > We have been using Solr in a custom setup where we generate results for > > user queries by expanding it to a large bo

Re: Handling space variations in queries - matching 'thunderbolt' for query 'thunder bolt'

2011-08-05 Thread Prasanna R
Requesting the community for feedback one more time - Does anyone have any suggestions/comments regarding this? Thanks in advance, Prasanna On Sat, Jul 30, 2011 at 12:04 AM, Prasanna R wrote: > > We use a dismax handler with mm 1 in our Solr installation. I have a > fieldType def

Handling space variations in queries - matching 'thunderbolt' for query 'thunder bolt'

2011-07-30 Thread Prasanna R
We use a dismax handler with mm 1 in our Solr installation. I have a fieldType defined that creates shingles to handle space variations in the input strings and user queries. This fieldType can successfully handle cases where the query is 'thunderbolt' and the document contains the string 'thunder

Re: Enhancing Solr relevance functions through predefined constants

2010-06-01 Thread Prasanna R
On Tue, Jun 1, 2010 at 11:57 AM, Chris Hostetter wrote: > : > : I have a suggestion for improving relevance functions in Solr by way of > : providing access to a set of pre-defined constants in Solr queries. > : Specifically, the number of documents indexed, the number of unique terms > in > : a f

Enhancing Solr relevance functions through predefined constants

2010-05-25 Thread Prasanna R
Hi all, I have a suggestion for improving relevance functions in Solr by way of providing access to a set of pre-defined constants in Solr queries. Specifically, the number of documents indexed, the number of unique terms in a field, the total number of terms in a field, etc. are some of the query

Re: Implementing Autocomplete/Query Suggest using Solr

2010-01-04 Thread Prasanna R
On Mon, Jan 4, 2010 at 1:20 AM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > On Wed, Dec 30, 2009 at 3:07 AM, Prasanna R wrote: > > > I looked into the Solr/Lucene classes and found the required > information. > > Am summarizing the same for the benefit o

Re: Result ordering for Wildcard/Prefix queries or ConstantScoreQueries

2009-12-30 Thread Prasanna R
On Wed, Dec 30, 2009 at 5:04 PM, Grant Ingersoll wrote: > > On Dec 30, 2009, at 3:21 PM, Prasanna R wrote: > > > All documents matched for Wildcard and Prefix queries get the same score > as > > they are scored as a ConstantScoreQuery. Example query - title:abc* >

Result ordering for Wildcard/Prefix queries or ConstantScoreQueries

2009-12-30 Thread Prasanna R
All documents matched for Wildcard and Prefix queries get the same score as they are scored as a ConstantScoreQuery. Example query - title:abc* In such cases, what determines the ordering of the results? Is it simply the same order in which those document terms appeared when enumerating through th

Re: Implementing Autocomplete/Query Suggest using Solr

2009-12-29 Thread Prasanna R
> > > > > We do auto-complete through prefix searches on shingles. > > > > > > > Just to confirm, do you mean using EdgeNgram filter to produce letter > > ngrams > > of the tokens in the chosen field? > > > > > >> No, I'm talking about prefix search on tokens produced by a ShingleFilter. >> > > I d

Re: Implementing Autocomplete/Query Suggest using Solr

2009-12-28 Thread Prasanna R
On Wed, Dec 23, 2009 at 10:52 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > On Thu, Dec 24, 2009 at 2:39 AM, Prasanna R wrote: > > > On Tue, Dec 22, 2009 at 11:49 PM, Shalin Shekhar Mangar < > > shalinman...@gmail.com> wrote: > > > > &g

Re: Implementing Autocomplete/Query Suggest using Solr

2009-12-23 Thread Prasanna R
On Tue, Dec 22, 2009 at 11:49 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > > > I am curious how an approach that simply uses the wildcard query > > functionality on an indexed field would work. > > > It works fine as long as the terms are not repeated across documents. > > I do n

Implementing Autocomplete/Query Suggest using Solr

2009-12-22 Thread Prasanna R
There seem to be a couple of approaches that people have adopted in implementing a query suggestion / auto completion feature using Solr. Depending on the situation, one might use the terms component or go the way of using EdgeNGramFilters and then creating querying the index on the ngrammed field