lucene-solr-user mailing list archives

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

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>
		<lst name="invariants">
			<str name="wt">apix</str>
			<str name="uf">* -author -key</str>
		</lst>
	</requestHandler>



-----
Regards
Shruti
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Mime
View raw message