Wednesday, February 26, 2014

FQL field search with a question mark '?'

I was trying to return a item by a query to the path

path:string("http://sometext/page.aspx?id=123")

I could search for http://sometext/page.aspx or id=123 but the question mark would cause the query not to find the item.

The solution:
replace the ? with a space.  apparently the ? is a noise word and replaced with a space during indexing.  It is an odd issue, since the ? is show on the qr server.

such is life

No comments:

Post a Comment