Conditional Filter Queries

2015-04-16 Thread Tao, Jing
Hi, I want to filter my search results by different date fields based on content type. In other words: if contentType is A, filter out results that are older than 1 year; if contentType is B, filter out results that are older than 2 years; otherwise, date does not matter. Is that possible

protected phrases - possible?

2015-03-30 Thread Tao, Jing
Hi, The way our collection is setup, searches for breast cancer are returning results for ovarian cancer, or anything that contains either breast or cancer. The reason is, we are searching across multiple fields. Even though I have set a mm value so that if less than 3 terms, ALL terms much

spellchecker returns correctlySpelled=true if one term in phrase is correctly spelled

2014-12-02 Thread Tao, Jing
Hi, It seems that when I do a phrase search, SOLR's spellchecker would return correctlySpelled=true if at least one term in the phrase was correctly spelled. For example: If I search for soriasis treatment, SOLR returns over 8000 search results for treatment, correctlySpelled: true, and a

RE: Inconsistent relevancy score between browser refreshes

2014-09-15 Thread Tao, Jing
would be to optimize. That should purge all the deleted docs' data. Best, Erick On Wed, Sep 10, 2014 at 1:19 PM, Tao, Jing j...@webmd.net wrote: 1) It is a SolrCloud setup on 4 servers, 4 shards, replication factor of 2. 2) There is no indexing going on. 3) No, I did not optimize. 4) Did

Inconsistent relevancy score between browser refreshes

2014-09-10 Thread Tao, Jing
I am seeing different relevancy scores for the same documents, between browser refreshes. Any ideas why? The query is the same, index is the same - why would score change? Example: First request returns: doc str name=titleStroke Anticoagulation and Prophylaxis/str float

RE: Inconsistent relevancy score between browser refreshes

2014-09-10 Thread Tao, Jing
On Wed, Sep 10, 2014 at 12:28 PM, Tao, Jing j...@webmd.net wrote: I am seeing different relevancy scores for the same documents, between browser refreshes. Any ideas why? The query is the same, index is the same - why would score change? Example: First request returns: doc str name