View Single Post
Old 08-21-2012, 09:19 PM   PM User | #2
WolfShade
Regular Coder

 
Join Date: Apr 2012
Location: St. Louis, MO, USA
Posts: 946
Thanks: 7
Thanked 97 Times in 97 Posts
WolfShade is an unknown quantity at this point
It appears (to me) that you are setting "q" to equal q, rows, score, highlight, json, and phrasehighlighter. If these are all supposed to have their own name for each value, the string needs to be reformatted. There is also no closing ' for the string (not critical, but I consider it good form to always use a closing string delimiter.)

Also, you can do without the hashmarks, since the values are not contained within "double quotes".

Code:
<cfset theUrl = 'http://localhost:8090/solr/ktimatologio/select/?hl.requireFieldMatch=true&hl.fl=*&q=' & Arguments.q & '&rows=' & ARGUMENTS.rows & '&score=' & ARGUMENTS.score & '&highlight=' & ARGUMENTS.highlight & '&json=' & ARGUMENTS.json & '&phrasehighlighter=' & ARGUMENTS.phrasehighlighter & ''>
__________________
^_^

If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
*
The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".
WolfShade is offline   Reply With Quote
Users who have thanked WolfShade for this post:
anarchos78 (08-21-2012)