lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bbarani <>
Subject How to change search component parameters dynamically using query
Date Wed, 03 Sep 2014 17:38:32 GMT

I use the below highlight search component in one of my request handler.

I am trying to figure out a way to change the value of highlight search
component dynamically from the query. Is it possible to modify the
parameters dynamically using the query (without creating another

 <searchComponent class="solr.HighlightComponent" name="highlight">
          <boundaryScanner class="solr.highlight.SimpleBoundaryScanner"
default="false" name="simple">
                  <lst name="defaults">
		 	<str name="">200</str>
			<str name="">.</str>
	    <boundaryScanner class="solr.highlight.BreakIteratorBoundaryScanner"
default="true" name="breakIterator">
	  	  <lst name="defaults">
            	  <str name="">SENTENCE</str>
                    <str name="">en</str>
              	  <str name="">US</str>

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message