lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shruti suri <>
Subject user field(uf) not working with Post filter
Date Wed, 05 Sep 2018 13:17:30 GMT

I am using a custom handler with edismax parser. I am using uf parameter in
the handler to restrict some fields from search.  But uf is not working with
post filter(fq). I want to restricted same fields in fq, so that people
could not filter on some fields. Please suggest how can I do that.

	<requestHandler name="custom" class="solr.SearchHandler">
		<lst name="defaults">
			<str name="echoParams">explicit</str>
			<float name="tie">1</float>
			<int name="rows">10</int>
			<str name="defType">edismax</str>
			<str name="qf">name title author key</str>
			<str name="q.alt">*:*</str>
			<str name="fl">*</str>
		<lst name="invariants">
			<str name="wt">apix</str>
			<str name="uf">* -author -key</str>

Sent from:

View raw message