Hello

In Solr Admin: I type the q parameter as -

text_entry:*

It gives the following exception (In the schema I do see a field as text_entry):

{
"responseHeader":{
"zkConnected":true,
"status":400,
"QTime":2,
"params":{
"q":"text_entry:*",
"_":"1516190134181"}},
"error":{
"metadata":[
"error-class","org.apache.solr.common.SolrException",
"root-error-class","org.apache.solr.common.SolrException"],
"msg":"undefined field text_entry",
"code":400}}


However when i type the q paramter as -

{!term f=text_entry}henry

This does give out the output as foll:

{
"responseHeader":{
"zkConnected":true,
"status":0,
"QTime":0,
"params":{
"q":"{!term f=text_entry}henry",
"_":"1516190134181"}},
"response":{"numFound":262,"start":0,"docs":[
{
"type":"line",
"line_id":"80075",
"play_name":"Richard II",
"speech_number":"13",
"line_number":"3.3.37",
"speaker":"HENRY BOLINGBROKE",
"text_entry":"Henry Bolingbroke",
"id":"9428c765-a4e8-4116-937a-9b70e8a8e2de",
"_version_":1588569205789163522,
"speaker_str":["HENRY BOLINGBROKE"],
"text_entry_str":["Henry Bolingbroke"],
"line_number_str":["3.3.37"],
"type_str":["line"],
"play_name_str":["Richard II"]},
{
....

Any ideas what is going wrong in the first q?

Thank You

On 1/18/18, Rick Leir <rl...@leirtech.com> wrote:
> Deepak
> Would you like to write your post again without asterisks? Include the
> asterisks which are necessary to the query of course.
> Rick
>
> On January 17, 2018 1:10:28 PM EST, Deepak Goel <deic...@gmail.com> wrote:
>>*Hello*
>>
>>*In Solr Admin: I type the q parameter as - *
>>
>>*text_entry:**
>>
>>*It gives the following exception (In the schema I do see a field as
>>text_entry):*
>>
>>{ "responseHeader":{ "zkConnected":true, "status":400, "QTime":2,
>>"params":{
>>"q":"text_entry:*", "_":"1516190134181"}}, "error":{ "metadata":[
>>"error-class","org.apache.solr.common.SolrException",
>>"root-error-class",
>>"org.apache.solr.common.SolrException"], "msg":"undefined field
>>text_entry",
>>"code":400}}
>>
>>
>>*However when i type the q paramter as -*
>>
>>*{!term f=text_entry}henry*
>>
>>*This does give out the output as foll:*
>>
>>{ "responseHeader":{ "zkConnected":true, "status":0, "QTime":0,
>>"params":{ "
>>q":"{!term f=text_entry}henry", "_":"1516190134181"}},
>>"response":{"numFound
>>":262,"start":0,"docs":[ { "type":"line", "line_id":"80075",
>>"play_name":"Richard
>>II", "speech_number":"13", "line_number":"3.3.37", "speaker":"HENRY
>>BOLINGBROKE", "text_entry":"Henry Bolingbroke", "id":
>>"9428c765-a4e8-4116-937a-9b70e8a8e2de",
>>"_version_":1588569205789163522, "
>>speaker_str":["HENRY BOLINGBROKE"], "text_entry_str":["Henry
>>Bolingbroke"],
>>"line_number_str":["3.3.37"], "type_str":["line"],
>>"play_name_str":["Richard
>>II"]}, {
>>*....*
>>
>>Any ideas what is going wrong in the first q?
>>
>>Thank You
>>
>>Deepak
>>"Please stop cruelty to Animals, help by becoming a Vegan"
>>+91 73500 12833
>>deic...@gmail.com
>>
>>Facebook: https://www.facebook.com/deicool
>>LinkedIn: www.linkedin.com/in/deicool
>>
>>"Plant a Tree, Go Green"
>>
>><http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>>Virus-free.
>>www.avg.com
>><http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>><#m_-480358672325756571_m_-3347175065213108175_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> --
> Sorry for being brief. Alternate email is rickleir at yahoo dot com
> --
> Sorry for being brief. Alternate email is rickleir at yahoo dot com


-- 


Deepak
"Please stop cruelty to Animals, help by becoming a Vegan"
+91 73500 12833
deic...@gmail.com

Facebook: https://www.facebook.com/deicool
LinkedIn: www.linkedin.com/in/deicool

"Plant a Tree, Go Green"

Reply via email to