How to wildcard search with colons?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to wildcard search with colons?

Brian Whitman
The field is called "trackURL" and has a URL in it, the type is  
"string." I want to be able to search for http://host*

q=trackURL:http* <-- works
q=trackURL:http://host* <-- doesn't work, the query parser removes  
the : and everything after it
q=trackURL:http%3A//host* <-- doesn't work, same as above
q=trackURL:http*host* <-- TooManyClauses exception, not what I want  
anyway




Reply | Threaded
Open this post in threaded view
|

Re: How to wildcard search with colons?

Mike Klaas
On 3/26/07, Brian Whitman <[hidden email]> wrote:
> The field is called "trackURL" and has a URL in it, the type is
> "string." I want to be able to search for http://host*
>
> q=trackURL:http* <-- works
> q=trackURL:http://host* <-- doesn't work, the query parser removes
> the : and everything after it
> q=trackURL:http%3A//host* <-- doesn't work, same as above
> q=trackURL:http*host* <-- TooManyClauses exception, not what I want
> anyway

Have you tried:

trackURL:http\://host*

-Mike
Reply | Threaded
Open this post in threaded view
|

Re: How to wildcard search with colons?

Brian Whitman
On Mar 26, 2007, at 2:03 PM, Mike Klaas wrote:

> Have you tried:
>
> trackURL:http\://host*

Obviously not :) Thanks for the help, that did it.

Brian