hi Franck;

Thank you for your response. I'm not sure you understand my issue however.
I have dismax on by default so am able to use query fields.

My problem is not in the queries themselves, but when they are input from
the '/admin' screen they are url-encoded.

If I take your suggestion and type in t_FIELD_NAME:TEST the ''/admin screen
I get redirected to the following:

select/?q=t_FIELD_NAME%3ATEST

instead of:

select/?q=t_FIELD_NAME:TEST

Is there a setting I should be aware of to stop the /admin screen from
url-encoding strings? Or is there a setting to allow solr to accept
url-encoded strings? Is this issue fixed in later versions after 1.4?

Thanks,

-Aaron


On Wed, Mar 21, 2012 at 11:26 AM, fbrisbart <fbrisb...@bestofmedia.com>wrote:

> Hi,
>
> for your example query 'TEST&qf=t_FIELD_NAME ',
> you can simply query :
> t_FIELD_NAME:TEST
>
> If you really want to use the 'qf' parameter, it is only available for
> dismax queries ( http://wiki.apache.org/solr/DisMaxQParserPlugin ). Your
> query becomes:
> {!dismax qf=t_FIELD_NAME}TEST
>
> Have a look at the wiki (
> http://wiki.apache.org/solr/CommonQueryParameters
> ) for the syntax of your queries.
>
> Franck
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/url-encoded-strings-from-Admin-Query-String-search-tp3840910p3846003.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to