Ahmet,
thanks for this, but I do not think this actually meets my requirements. My
intent is not that of harcoding the facet field and value I want to exclude,
but to be able to apply the exclusion variant regardless (I currently have 3
facet field and ~ 5 million of records). Before posting my que
ups I sent it prematurely. Here is the correct one :
solrQuery.add(CommonParams.FQ, "-{!term f=author}Dickens, Janet");
On Friday, February 28, 2014 12:42 PM, Ahmet Arslan wrote:
Hi,
This should do the trick : solrQuery.add(CommonParams.FQ, "fq=-{!term
f=author}Dickens, Janet");
Ahmet
Hi,
This should do the trick : solrQuery.add(CommonParams.FQ, "fq=-{!term
f=author}Dickens, Janet");
Ahmet
On Friday, February 28, 2014 11:21 AM, idioma wrote:
Ahmet,
thank you for your reply, much appreciated. Let me answer to your
question(s):
1) "Your example response () looks like custo
Ahmet,
thank you for your reply, much appreciated. Let me answer to your
question(s):
1) "Your example response () looks like customized."
It is not, but I have not included the code that generates it. In a
nutshell, I have two XSLT files, one that transforms the Solr query into
something that my
Hi,
Your example response () looks like customized. Your
SolrJ program also has Element class that I have never seen.
By the way, fq=-author:Dickens, Janet is parsed as -author:Dickens
defaultField:Janet
Assuming it is String type, either use quotes fq=-author:"Dickens, Janet" or
term query