Re: Solr boost relevancy

2012-05-26 Thread Walter Underwood
Solr automatically scales the scores of fuzzy matches by their distance from an exact match. So, you don't have to change anything. wunder On May 26, 2012, at 11:52 PM, Gau wrote: > Hi Lori, > > Yeah. I thought exactly of the same solution. Use a copy field and boost > the relevancy of the t

Re: Solr boost relevancy

2012-05-26 Thread Gau
Hi Lori, Yeah. I thought exactly of the same solution. Use a copy field and boost the relevancy of the the exact match. But my question is more broad here. For eg, if i have a synonym for James as Jim, Games, Jimmy, Jameson And if I normalize the tf, norm, etc factors to 1, on searching for J

Re: SolrCloud war context name?

2012-05-26 Thread Mark Miller
On May 26, 2012, at 11:56 AM, Darren Govoni wrote: > Hi, > I am running my solrcloud nodes in an app server deployed into the > context path 'solr' and zookeeper sees all of them. I want to deploy a > second solrcloud war into the same app server (thus same IP:port) in a > different context like

Re: ExtendedDisMax Field Alias Question

2012-05-26 Thread Jamie Johnson
Yeah cycles in general I agree are bad, but perhaps an option to also include the original field or special handling of the aliased field to support this. On Sat, May 26, 2012 at 3:26 PM, Jack Krupansky wrote: > That would create an alias "loop", which is not supported. > > For example, > > http:

Re: SolrCloud war context name?

2012-05-26 Thread Marcelo Carvalho Fernandes
Hi Darren, You just need to do the following things in general to go multicore: 1. Use the folder *\example\multicore\core1* and * \example\multicore\core2* as they were your actual * \example\solr*. 2. Check if \multicore\solr.xml exists and it has the element uncomented; 3.

Re: Is optimize needed on slaves if it replicates from optimized master?

2012-05-26 Thread Walter Underwood
A. Never optimize on the slave. B. You probably do not need to optimize on the master. "Optimize" does not optimize anything. It is forced merge, combining segments. Solr automatically combines segments as needed. wunder On May 26, 2012, at 1:57 PM, sudarshan wrote: > Hi All, > I happen

Re: Is optimize needed on slaves if it replicates from optimized master?

2012-05-26 Thread sudarshan
Hi All, I happen to see this message board just now. I want to clarify certain things. I'm new to Solr. I'm trying to combine Solr's index replication and optimization. I have some doubts about the working of replication in a master slave setup. >From the post, I understand that if the ind

Re: SolrCloud war context name?

2012-05-26 Thread Darren Govoni
It's not really clear from the wiki how to use cores as shard replicas within the same solr server. In my mind, having a separate JVM/solr node/ acting as a replica makes sense because the replication traffic will be on a different channel in a different vm and won't interfere with search/indexing

Re: ExtendedDisMax Field Alias Question

2012-05-26 Thread Jack Krupansky
That would create an alias "loop", which is not supported. For example, http://localhost:8983/solr/select/?debugQuery=true&defType=edismax&f.person_first_name.qf=genre_s&f.person_last_name.qf=id&f.name.qf=name+person_first_name+person_last_name&q=name:smith in Solr 3.6 generates a 400 response

Re: SolrCloud war context name?

2012-05-26 Thread Marcelo Carvalho Fernandes
Why not using multicore? Marcelo Carvalho Fernandes +55 21 8272-7970 On Sat, May 26, 2012 at 12:56 PM, Darren Govoni wrote: > Hi, > I am running my solrcloud nodes in an app server deployed into the > context path 'solr' and zookeeper sees all of them. I want to deploy a > second solrclo

SolrCloud war context name?

2012-05-26 Thread Darren Govoni
Hi, I am running my solrcloud nodes in an app server deployed into the context path 'solr' and zookeeper sees all of them. I want to deploy a second solrcloud war into the same app server (thus same IP:port) in a different context like 'solrrep' with the same config (cloned). Will this work? Or d

Re: Solr boost relevancy

2012-05-26 Thread Ahmet Arslan
> Consider a db of just names. Now if I > use synonym expansion at query time, I > get a set of results. > (Background: I created a class, which resets idf, tf, .. > .all to 1) since > they dont matter to me anymore. What really matters is, how > closely does the > query match to the given name.

Re: Solr boost relevancy

2012-05-26 Thread Lee Carroll
I'm not sure about your approach, turning off most of the features which produce a similarity measure in a vsm and then wanting to sort by a similarity could lead to pain. (I don't know your usecase so this could still be valid) One approach to, (well what I think your usecase might be...) is to u