Have you considered using the admin/query form? Lots of escaping is done
there for you. Once you have the form of the query down and know what to
expect, it's probably easier to enter "escaping hell" with curl and the
like....

And what is your schema definition for the field in question? the
admin/analysis page can help a lot here.....

Best,
Erick

On Thu, Jan 22, 2015 at 3:51 PM, Carl Roberts <carl.roberts.zap...@gmail.com
> wrote:

> Thanks Shawn - I tried this but it does not work.  I don't even get a
> response from curl when I try that format and when I look at the logging on
> the console for Jetty I don't see anything new - it seems that the request
> is not even making it to the server.
>
>
>
> On 1/22/15, 6:43 PM, Shawn Heisey wrote:
>
>> On 1/22/2015 4:31 PM, Carl Roberts wrote:
>>
>>> Hi Walter,
>>>
>>> If I try this from my Mac shell:
>>>
>>>      curl
>>> http://localhost:8983/solr/nvd-rss/select?wt=json&indent=true&q=summary
>>> :"Oracle
>>> Fusion"
>>>
>>> I don't get a response.
>>>
>> Quotes are a special character to the shell on your mac, and get removed
>> from what the curl command sees.  You'll need to put the whole thing in
>> quotes (so that characters like & are not interpreted by the shell) and
>> then escape the quotes that you want to actually be handled by curl:
>>
>> curl
>> "http://localhost:8983/solr/nvd-rss/select?wt=json&indent=true&q=summary
>> :\"Oracle
>> Fusion\""
>>
>> Thanks,
>> Shawn
>>
>>
>

Reply via email to