Http Query Parameter for Range Filter

Submitted by ausathya on Mon, 2009-06-08 09:17.Troubleshooting

I am having a Filter based on Numeric value with "Group As" column value set to 'price_list'.

Everything works fine but, the query generated for that filter has syntax inconsistency,

search.do?indexName=sys_idx_06_06&templateName=SYS_HTM_06_06&q=H_SCR_FLTR%3A[25%2C50)

notice the different open & close braces for H_SCR_FLTR.

and the html display of applied filters displays like this,

Score: [25,50)

Appreciate your help.

thanks
Sathiya

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Submitted by will on Mon, 2009-06-08 11:10.

It looks fine to me though. The URL means:

 H_SCR_FLTR:[25,50)

And the html you saw:

 Score:[25,50)

is just for display.

I guess you set displayable name for column "H_SCR_FLTR" to be "Score".

Submitted by ausathya on Thu, 2009-06-11 09:16.

Just in case you did not notice what the exact problem is, notice different opening & closing braces.

It is a bug in URL generation, because whatever you see in URL is automatically generated by.

t1 = httpUtil.addOrSetQuery(searchResult.queryString, "start", null)

t2 = httpUtil.appendQuery(t1, "q", count.query)

thanks
Sathiya

Submitted by ausathya on Mon, 2009-06-08 12:14.

thats correct.