disabled omitNorms in index but still see default value

2013-05-08 Thread srinir
Hi We have a huge index with more than 50 million documents. In the beginning we disabled norms for some fields by setting omitNorms=true. Recently we decided to add norms to few other fields and we removed omitNorms=true from schema. I read in solr forum that if one of the document in any segme

ids request to shard with star query are slow

2013-03-14 Thread srinir
ids request to shard with star query are slow I have a distributed solr environment and I am investigating all the request where the shard took significant amount of time. One common pattern i saw was all the ids request with q=*:* and ids= took around 2-3sec. i picked some shard request q=xyz an

copyField after analyzer

2012-04-10 Thread srinir
Hi, I want to copy/append different fields to one field, while applying a different analyzer for each field. Lets assume i have specified different analyzers/filters for each of the above source fields cat, name, manu, features and includes. I read online that copyField copies before the a

dynamic analyzer based on condition

2012-04-13 Thread srinir
Hi, I want to pick different analyzers for the same field for different languages. I can determine the language from a different field. I would have different fieldTypes defined in my schema.xml such as text_en, text_de, text_fr, etc where i specify which analyzer and filter to use during indexing

Re: dynamic analyzer based on condition

2012-04-15 Thread srinir
Hi Erick, Thanks a lot for your reply. I have around 10-15 searchable text fields (and 5-6 languages). If I create one per language will that increase the memory occupied by my index. Even though only one field will have a value at a time, will there be a case the empty fields in the index will oc

QueryElevationComponent and distributed search

2012-04-24 Thread srinir
Hi, I am using solr 3.6. I saw in Solr wiki that QueryElevationComponent is not supported for distributed search. https://issues.apache.org/jira/browse/SOLR-2949 When I checked the above ticket, it looks like its fixed in Solr 4.0. Does anyone have any idea when a stable version of solr 4.0 wil

Re: QueryElevationComponent and distributed search

2012-04-25 Thread srinir
Can anyone tell me whether support for distributed search is added to QueryElevationComponent in solr 4.0 ? I looked at QueryElevationComponent code in trunk and it doesnt seem to have any code to support distributed search. Am I missing something here ? -- View this message in context: http:/

Re: QueryElevationComponent and distributed search

2012-04-25 Thread srinir
Hi Mark Thanks a lot for your response. Yeah, I was looking for distributed methods. I would like to know the reason why it didn't work in Solr 3.6. When i try (i only have solar 3.6) Note: the same query below works when i replace elevate with select, by which i am assuming my setup is correct.

Re: QueryElevationComponent and distributed search

2012-04-26 Thread srinir
Can anyone help me out in understand the fix to QueryElevationComponent (in Solr 4.0) to make it work for distributed search. -- View this message in context: http://lucene.472066.n3.nabble.com/QueryElevationComponent-and-distributed-search-tp3936998p3942221.html Sent from the Solr - User mailing

why no uppercase filter in solr

2012-05-18 Thread srinir
I am wondering why solr doesnt have an uppercase filter. I want the analyzed output to be in upper case to be compatible with legacy data. Will there be any problem if i create my own uppercase filter and use it ? -- View this message in context: http://lucene.472066.n3.nabble.com/why-no-uppe

pass custom parameters from client to solr

2012-06-04 Thread srinir
Hi I would like to pass a bunch of custom parameters to turn on/off or set thresholds for various custom implementations we have in our solr. What would be the best way to pass these custom parameters to solr server from the client ? The client is a Java based application and hence we are plannin

Re: pass custom parameters from client to solr

2012-06-04 Thread srinir
Thanks for your reply, that was helpful. Is there any restriction on how many parameters i can pass ? also can i pass some data (as we pass the document to be indexed, when we call the update url) along with the parameters which the solr server will use for search. -- View this message in conte

random results at specific slots

2012-06-05 Thread srinir
Hi, I would like to return results sorted by score (desc), but i would like to insert random results into some predefined slots (lets say 10, 14 and 18). The reason I want to do that is I boost click-through rate based features significantly and i want to give a chance to documents which doesnt ha

Re: random results at specific slots

2012-06-05 Thread srinir
Other option I could think of is to write a custom component which implements handleResponses, where i can pick random documents from across shards and insert it into the ResponseBuilder's resultIds ? I would place this component at the end (or after QueryCOmponent). will that work ? is there a bet

Re: pass custom parameters from client to solr

2012-06-06 Thread srinir
What would be a good place to read the custom solr params I passed from the client to solr ? I saw that all the params passed to solr is available in rb.req. I have a business requirement to collapse or combine some properties together based on some conditions. Currently I have a custom component

writing unit test for a search component which works only with distributed search

2012-06-28 Thread srinir
I have written a custom search component, but the code only supports distributed search. Since we dont use non-distributed search and the search works differently for non-distributed case, we decided to concentrate only on distributed search. I am trying to write unit test for my custom componen

many open index searchers listed in stats page

2012-08-09 Thread srinir
In the solr admin stats page I see multiple index searchers open. My understanding is there will be two searchers open during replication and only one otherwise. We have a multicore setup with 8 cores in the server (each core with its own index). And we have master-slave replication setup. Our repl

NoHttpResponseException: The server failed to respond

2012-09-06 Thread srinir
We have a distributed solr setup with 8 servers and 8 cores on each server in production. We see this error multiple times in our solr servers. we are using solr 3.6.1. Has anyone seen this error before and have you resolved it ? 2012-09-04 02:16:40,995 [http-nio-8080-exec-7] ERROR org.apache.so