to prevent number-of-matching-terms in contributing score

2011-11-07 Thread Samarendra Pratap
Hi everyone! We are working on Solr - 3.4. In Short: If my query term matches more than one words I want it to be considered as one match (in a particular field). Details: Our index has a multi-valued field "category" which contains possible category names of the company. It is entered by th

Re: to prevent number-of-matching-terms in contributing score

2011-11-07 Thread Samarendra Pratap
Hi Pravesh, thanks for your reply but I am not asking about the "omitNorms" (index time parameter) I am asking about how to consider multiple matches of a term in a single field as "one" during query time. Thanks On Mon, Nov 7, 2011 at 2:48 PM, pravesh wrote: > Did you rebuild the index from s

Re: to prevent number-of-matching-terms in contributing score

2011-11-08 Thread Samarendra Pratap
Hi Chris, Thanks for the insight. 1. "omitTermFreqAndPositions" is very straightforward but if I avoid positions I'll refuse to serve phrase queries. I had searched for this in past as well but I finally reached to the conclusion that there is no thing like "omitTermFreq" (only). Perhaps because

Re: to prevent number-of-matching-terms in contributing score

2011-11-10 Thread Samarendra Pratap
No solutions to the problem? OK. I'll look for the changes in source code and if I succeed I'll share it here for feedback. Thanks On Tue, Nov 8, 2011 at 5:06 PM, Samarendra Pratap wrote: > Hi Chris, > Thanks for the insight. > > 1. "omitTermFreqAndPositions"

Re: to prevent number-of-matching-terms in contributing score

2011-11-17 Thread Samarendra Pratap
On Thu, Nov 17, 2011 at 6:59 AM, Chris Hostetter wrote: > > : 1. "omitTermFreqAndPositions" is very straightforward but if I avoid > : positions I'll refuse to serve phrase queries. I had searched for this in > > but do you really need phrase queries on your "cat" field? i thought the > point wa

Pagination problem with group.limit=2

2011-11-20 Thread Samarendra Pratap
Hi, As per our business logic we have to show two products per company in our results. Second product should also be displayed as a normal search result, instead of "more..." (or "+", "expand") kind of nested results. *Short description*: With *group.limit=2 *option I am not able to find the exac

Number of threads increased after restart

2011-11-29 Thread Samarendra Pratap
Hi, I restarted solr server with minor configuration changes and I/O and load on server increased a lot. Details:- Solr version: 3.4 Jetty version: 6.1 Index Size: 30 GB Total document: 14.6 mn Request / second :20 (in day time) Last restart: 15 days ago Open threads: 50 - 60 (at any moment) A f

Re: Number of threads increased after restart

2011-11-29 Thread Samarendra Pratap
Hi Could there be any possibility of index being in unstable state when I restarted the server? On Tue, Nov 29, 2011 at 5:21 PM, Samarendra Pratap wrote: > Hi, > I restarted solr server with minor configuration changes and I/O and load > on server increased a lot. > > Details:-

Memory Leak in Solr?

2011-12-02 Thread Samarendra Pratap
Hi everyone, A couple of days back I encountered a weird problem of continuously increasing memory consumption. I am not sure if this is a problem of java or Solr (3.4). Till 3 days ago, we were running Solr 3.4 instance with following java command line options java -server -*Xms2048m* -*Xmx4096m

Re: Memory Leak in Solr?

2011-12-04 Thread Samarendra Pratap
Hi Chris, Thanks for you reply and sorry for delay. Please find my replies below in the mail. On Sat, Dec 3, 2011 at 5:56 AM, Chris Hostetter wrote: > > : Till 3 days ago, we were running Solr 3.4 instance with following java > : command line options > : java -server -*Xms2048m* -*Xmx4096m* -Dso

Re: Memory Leak in Solr?

2011-12-06 Thread Samarendra Pratap
erested in helping me find the reason please reply. Thanks On Sun, Dec 4, 2011 at 3:28 PM, Samarendra Pratap wrote: > Hi Chris, > Thanks for you reply and sorry for delay. Please find my replies below in > the mail. > > On Sat, Dec 3, 2011 at 5:56 AM, Chris Hostetter > wrot

impact of omitTermFreqAndPositions="true"

2012-01-10 Thread Samarendra Pratap
Hi, I understand that setting omitTermFreqAndPositions="true" for a field in schema.xml stores less information in the index with some restrictions e.g. phrase search. But does setting this property as "true" for a field which is of type "string", "int" or is analyzed by KeywordAnalyzer makes an

Re: First query to find meta data, second to search. How to group into one?

2012-05-16 Thread Samarendra Pratap
t; have you checked MoreLikeThis feature? > > On Tue, May 15, 2012 at 11:26 PM, Samarendra Pratap >wrote: > > > - We are calculating frequency of category ids in these top results. We > > are not using facets because that gives count for all, relevant or > >

Solr 1.4.1 vs 3.3 (Speed)

2011-08-17 Thread Samarendra Pratap
Hi we are planning to migrate from solr 1.4.1 to solr 3.3 and I am doing a manual performance comparison. We have setup two different solr installations (1.4.1 and 3.3) on different ports. 1. Both have same index (old lucene format index) of around 20 GB with 10 million documents and 60 fields (4

Query parameter changes from solr 1.4 to 3.3

2011-08-23 Thread Samarendra Pratap
Hi, We are upgrading solr 1.4 (with collapsing patch solr-236) to solr 3.3. I was looking for the required changes in query parameters (or parameter names) if any. One thing I know for sure is that "collapse" and its sub-options are now known by "group", but didn't find anything else. Can someo