Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Mike Lerley / Mike Lerley (Mike Lerley)
Created: 09/15/2014
Components: Text Search, Solr
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Final / CF11 Update5,CF10 Update16
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Linux Ubuntu 10.10
Vote Count: 0
Problem Description:
The CFSEARCH tag ignores the contextBytes parameter and always sends a value of 100. It should pass through the value of the parameter.
Steps to Reproduce:
Execute a cfsearch:
<CFSEARCH NAME="Search1"
ContextHighlightBegin="<b class='rutilus'>"
ContextHighlightEnd="</b>"
ContextPassages="3"
ContextBytes="300"
status="info"
COLLECTION="site_forum"
CRITERIA="geek"
startrow="1">
Actual Result:
Checking the solr logs shows this call generated by cfsearch:
/solr/site_forum/select?hl=true&hl.fragsize=100&hl.snippets=3&hl.simple.pre=%3Cb+class%3D%27rutilus%27%3E&hl.simple.post=%3C%2Fb%3E&q=geek&fl=*%2Cscore&rows=64169&qt=standard&start=0&wt=xml&version=2.2
Note the hl.fragsize parameter which should be 300, not 100.
Anecdotal internet evidence suggests this bug has been around for a couple of versions at least.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3824890
External Customer Info:
External Company:
External Customer Name: mlerley
External Customer Email:
External Test Config: My Hardware and Environment details:
Server Details
Server Product ColdFusion
Version ColdFusion 10,287689
Edition Standard
Operating System UNIX
OS Version 3.13.0-35-generic
Update Level /opt/coldfusion10/cfusion/lib/updates/chf10000013.jar
Adobe Driver Version 4.1 (Build 0001)
Attachments:
Comments: