Re: Having trouble getting boosting queries to work with multiple terms

2012-10-17 Thread Asfand Qazi
Several ideas there, thanks guys. I'll re-evaluate how I build and use the index from now on. Asfand Qazi On 16/10/12 17:35, Tomás Fernández Löbbe wrote: I think sorting should work too, as I suggested before. In this case (because by coincidence you need alphabetic sort on the type)

Re: Having trouble getting boosting queries to work with multiple terms

2012-10-16 Thread Asfand Qazi
On 16/10/12 16:15, Walter Underwood wrote: Why do you want that ordering? That isn't what Solr is designed to do. It is designed for relevance. I expect that idf (the rarity of the terms) is being used in the ordering. "mi_attempt" is probably much more rare than "allele". If you want that str

Re: Having trouble getting boosting queries to work with multiple terms

2012-10-16 Thread Asfand Qazi
ith: bq=type:allele^100 OR type:mi_attempt^10 OR type:phenotype_attempt^1 or set OR as your default operator in the schema.xml Tomás On Tue, Oct 16, 2012 at 10:37 AM, Asfand Qazi wrote: Hello, The Solr server I am driving is found publicly at http://ikmc.vm.bytemark.co.uk:**8983

Having trouble getting boosting queries to work with multiple terms

2012-10-16 Thread Asfand Qazi
Hello, The Solr server I am driving is found publicly at http://ikmc.vm.bytemark.co.uk:8983/solr/allele/search , it contains freely available information from science research establishments. It contains many documents, and I usually do is look up all documents where the 'mgi_accession_id' f

Re: Possible to have Solr documents with deeply nested data structures (i.e. 'hashes within hashes')?

2012-08-30 Thread Asfand Qazi
On 30/08/12 15:51, Alexandre Rafalovitch wrote: Don't treat SOLR as your primary database with complex structure, it is not built for that. On 30/08/12 16:01, Jack Krupansky wrote: Maybe start by focusing on what you expect that a user query will look like in Solr. Yeah, thanks guys - I'll

Re: Possible to have Solr documents with deeply nested data structures (i.e. 'hashes within hashes')?

2012-08-30 Thread Asfand Qazi
azi -Original Message----- From: Asfand Qazi Sent: Thursday, August 30, 2012 6:03 AM To: solr-user@lucene.apache.org Subject: Possible to have Solr documents with deeply nested data structures (i.e. 'hashes within hashes')? Hi, Is it possible to have a Solr documents with deepl

Possible to have Solr documents with deeply nested data structures (i.e. 'hashes within hashes')?

2012-08-30 Thread Asfand Qazi
Hi, Is it possible to have a Solr documents with deeply nested data structures? e.g. (in JSON) { "name": "Fred", "measurements": { "chest": "15", "legs": "32", ... } } ? Thanks -- Regards, Asfand Yar Qazi Team 87 - High Throughput Gene Targetin

Re: Cannot get highlighting to work

2012-06-01 Thread Asfand Qazi
or for all terms. Thanks. If the analyzer changes, the data must be reindexed. -- Jack Krupansky -Original Message----- From: Asfand Qazi Sent: Friday, June 01, 2012 5:08 AM To: solr-user@lucene.apache.org Subject: Re: Cannot get highlighting to work On 31/05/12 21:10, Jack Krupansky wro

Re: Cannot get highlighting to work

2012-06-01 Thread Asfand Qazi
fire the same query, but the exact same thing happened - the highlighting for a document is an empty document (i.e. { } ) just like before. Any other clues? Thanks -- Jack Krupansky -Original Message- From: Asfand Qazi Sent: Thursday, May 31, 2012 12:32 PM To: solr

Cannot get highlighting to work

2012-05-31 Thread Asfand Qazi
Hello, I am having problems doing highlighting a Solr 3.6 instance, while it was working just fine before on our 1.4 instance. The solrconfig.xml and schema.xml files are located here: https://github.com/mpi2/mpi2_solr/blob/master/multicore/main/conf/schema.xml (please note the incorrect lin