[jira] [Comment Edited] (SOLR-9972) JSON-Specific Parameters arrntv causing some error for spellcheck component

2017-01-17 Thread Ricky Oktavianus Lazuardy (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-9972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15826313#comment-15826313
 ] 

Ricky Oktavianus Lazuardy edited comment on SOLR-9972 at 1/17/17 4:10 PM:
--

[~cpoerschke] : Sorry for late response and thanks for quick response
this one is arrmap one example (i think you don't need it anymore):
{code:javascript}
{
"collation": {
  "collationQuery": "indomie kuah",
  "hits": 98,
  "misspellingsAndCorrections": [
{
  "indomee": "indomie"
},
{
  "kuih": "kuah"
}
  ]
}
  },
{code}
and yes i think removing collation object may fix this problems.



was (Author: dragonyui):
[~cpoerschke] : Sorry for late response and thanks for quick response
this one is arrmap one example (i think you don't need it anymore):
{quote}
{
"collation": {
  "collationQuery": "indomie kuah",
  "hits": 98,
  "misspellingsAndCorrections": [
{
  "indomee": "indomie"
},
{
  "kuih": "kuah"
}
  ]
}
  },
{quote}
and yes i think removing collation object may fix this problems.


> JSON-Specific Parameters arrntv causing some error for spellcheck component
> ---
>
> Key: SOLR-9972
> URL: https://issues.apache.org/jira/browse/SOLR-9972
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Response Writers
>Affects Versions: 6.4
>Reporter: Ricky Oktavianus Lazuardy
>Assignee: Christine Poerschke
> Attachments: SOLR-9972-hunch-no-test.patch, 
> SOLR-9972-with-test-after-SOLR-9975.patch
>
>
> So I tried using the new array named list arrntv from solr 6.5 jenkins build
> but the json returned was broken when it returned response for spellcheck 
> with word break.
> for example :
> {code:javascript}
>  {"name":"collation",{
> "type":"str","value":"collationQuery":"indomie kuing",
> "hits":81,
> "misspellingsAndCorrections":
> [
>   {"name":"indomee","type":"str","value":"indomie"},
>   {"name":"kuih","type":"str","value":"kuing"}
> ]}
>  }
> {code}
> as you may see that "collationQuery":"indomie kuing" was considered as value 
> thus causing the json to fail.
> i think the correct json was :
> {code:javascript}
> {"name":"collation",
> "type":"object",
> "value":{
> "collationQuery":"indomie kuing",
> "hits":81,
> "misspellingsAndCorrections":
> [
>   {"name":"indomee","type":"str","value":"indomie"},
>   {"name":"kuih","type":"str","value":"kuing"}
> ]}
>  }
> {code}
> sorry for bad grammar english was not my first language and i know that 
> object was not supported by current arrntv options.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-9972) JSON-Specific Parameters arrntv causing some error for spellcheck component

2017-01-17 Thread Ricky Oktavianus Lazuardy (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-9972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15826313#comment-15826313
 ] 

Ricky Oktavianus Lazuardy commented on SOLR-9972:
-

[~cpoerschke] : Sorry for late response and thanks for quick response
this one is arrmap one example (i think you don't need it anymore):
{quote}
{
"collation": {
  "collationQuery": "indomie kuah",
  "hits": 98,
  "misspellingsAndCorrections": [
{
  "indomee": "indomie"
},
{
  "kuih": "kuah"
}
  ]
}
  },
{quote}
and yes i think removing collation object may fix this problems.


> JSON-Specific Parameters arrntv causing some error for spellcheck component
> ---
>
> Key: SOLR-9972
> URL: https://issues.apache.org/jira/browse/SOLR-9972
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Response Writers
>Affects Versions: 6.4
>Reporter: Ricky Oktavianus Lazuardy
>Assignee: Christine Poerschke
> Attachments: SOLR-9972-hunch-no-test.patch, 
> SOLR-9972-with-test-after-SOLR-9975.patch
>
>
> So I tried using the new array named list arrntv from solr 6.5 jenkins build
> but the json returned was broken when it returned response for spellcheck 
> with word break.
> for example :
> {code:javascript}
>  {"name":"collation",{
> "type":"str","value":"collationQuery":"indomie kuing",
> "hits":81,
> "misspellingsAndCorrections":
> [
>   {"name":"indomee","type":"str","value":"indomie"},
>   {"name":"kuih","type":"str","value":"kuing"}
> ]}
>  }
> {code}
> as you may see that "collationQuery":"indomie kuing" was considered as value 
> thus causing the json to fail.
> i think the correct json was :
> {code:javascript}
> {"name":"collation",
> "type":"object",
> "value":{
> "collationQuery":"indomie kuing",
> "hits":81,
> "misspellingsAndCorrections":
> [
>   {"name":"indomee","type":"str","value":"indomie"},
>   {"name":"kuih","type":"str","value":"kuing"}
> ]}
>  }
> {code}
> sorry for bad grammar english was not my first language and i know that 
> object was not supported by current arrntv options.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-9972) JSON-Specific Parameters arrntv causing some error for spellcheck component

2017-01-17 Thread Ricky Oktavianus Lazuardy (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-9972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ricky Oktavianus Lazuardy updated SOLR-9972:

Description: 
So I tried using the new array named list arrntv from solr 6.5 jenkins build
but the json returned was broken when it returned response for spellcheck with 
word break.
for example :
{code:json}
 {"name":"collation",{
"type":"str","value":"collationQuery":"indomie kuing",
"hits":81,
"misspellingsAndCorrections":
[
  {"name":"indomee","type":"str","value":"indomie"},
  {"name":"kuih","type":"str","value":"kuing"}
]}
 }
{code}
as you may see that "collationQuery":"indomie kuing" was considered as value 
thus causing the json to fail.
i think the correct json was :
{code:json}
{"name":"collation",
"type":"object",
"value":{
"collationQuery":"indomie kuing",
"hits":81,
"misspellingsAndCorrections":
[
  {"name":"indomee","type":"str","value":"indomie"},
  {"name":"kuih","type":"str","value":"kuing"}
]}
 }
{code}
sorry for bad grammar english was not my first language and i know that object 
was not supported by current arrntv options.

  was:
So I tried using the new array named list arrntv from solr 6.5 jenkins build
but the json returned was broken when it returned response for spellcheck with 
word break.
for example :
{quote}
 {"name":"collation",{
"type":"str","value":"collationQuery":"indomie kuing",
"hits":81,
"misspellingsAndCorrections":
[
  {"name":"indomee","type":"str","value":"indomie"},
  {"name":"kuih","type":"str","value":"kuing"}
]}
 }
{quote}
as you may see that "collationQuery":"indomie kuing" was considered as value 
thus causing the json to fail.
i think the correct json was :
{quote}
{"name":"collation",
"type":"object",
"value":{
"collationQuery":"indomie kuing",
"hits":81,
"misspellingsAndCorrections":
[
  {"name":"indomee","type":"str","value":"indomie"},
  {"name":"kuih","type":"str","value":"kuing"}
]}
 }
{quote}
sorry for bad grammar english was not my first language and i know that object 
was not supported by current arrntv options.


> JSON-Specific Parameters arrntv causing some error for spellcheck component
> ---
>
> Key: SOLR-9972
> URL: https://issues.apache.org/jira/browse/SOLR-9972
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Response Writers
>Affects Versions: 6.5
>Reporter: Ricky Oktavianus Lazuardy
>
> So I tried using the new array named list arrntv from solr 6.5 jenkins build
> but the json returned was broken when it returned response for spellcheck 
> with word break.
> for example :
> {code:json}
>  {"name":"collation",{
> "type":"str","value":"collationQuery":"indomie kuing",
> "hits":81,
> "misspellingsAndCorrections":
> [
>   {"name":"indomee","type":"str","value":"indomie"},
>   {"name":"kuih","type":"str","value":"kuing"}
> ]}
>  }
> {code}
> as you may see that "collationQuery":"indomie kuing" was considered as value 
> thus causing the json to fail.
> i think the correct json was :
> {code:json}
> {"name":"collation",
> "type":"object",
> "value":{
> "collationQuery":"indomie kuing",
> "hits":81,
> "misspellingsAndCorrections":
> [
>   {"name":"indomee","type":"str","value":"indomie"},
>   {"name":"kuih","type":"str","value":"kuing"}
> ]}
>  }
> {code}
> sorry for bad grammar english was not my first language and i know that 
> object was not supported by current arrntv options.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-9972) JSON-Specific Parameters arrntv causing some error for spellcheck component

2017-01-17 Thread Ricky Oktavianus Lazuardy (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-9972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ricky Oktavianus Lazuardy updated SOLR-9972:

Description: 
So I tried using the new array named list arrntv from solr 6.5 jenkins build
but the json returned was broken when it returned response for spellcheck with 
word break.
for example :
{code:javascript}
 {"name":"collation",{
"type":"str","value":"collationQuery":"indomie kuing",
"hits":81,
"misspellingsAndCorrections":
[
  {"name":"indomee","type":"str","value":"indomie"},
  {"name":"kuih","type":"str","value":"kuing"}
]}
 }
{code}
as you may see that "collationQuery":"indomie kuing" was considered as value 
thus causing the json to fail.
i think the correct json was :
{code:javascript}
{"name":"collation",
"type":"object",
"value":{
"collationQuery":"indomie kuing",
"hits":81,
"misspellingsAndCorrections":
[
  {"name":"indomee","type":"str","value":"indomie"},
  {"name":"kuih","type":"str","value":"kuing"}
]}
 }
{code}
sorry for bad grammar english was not my first language and i know that object 
was not supported by current arrntv options.

  was:
So I tried using the new array named list arrntv from solr 6.5 jenkins build
but the json returned was broken when it returned response for spellcheck with 
word break.
for example :
{code:json}
 {"name":"collation",{
"type":"str","value":"collationQuery":"indomie kuing",
"hits":81,
"misspellingsAndCorrections":
[
  {"name":"indomee","type":"str","value":"indomie"},
  {"name":"kuih","type":"str","value":"kuing"}
]}
 }
{code}
as you may see that "collationQuery":"indomie kuing" was considered as value 
thus causing the json to fail.
i think the correct json was :
{code:json}
{"name":"collation",
"type":"object",
"value":{
"collationQuery":"indomie kuing",
"hits":81,
"misspellingsAndCorrections":
[
  {"name":"indomee","type":"str","value":"indomie"},
  {"name":"kuih","type":"str","value":"kuing"}
]}
 }
{code}
sorry for bad grammar english was not my first language and i know that object 
was not supported by current arrntv options.


> JSON-Specific Parameters arrntv causing some error for spellcheck component
> ---
>
> Key: SOLR-9972
> URL: https://issues.apache.org/jira/browse/SOLR-9972
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Response Writers
>Affects Versions: 6.5
>Reporter: Ricky Oktavianus Lazuardy
>
> So I tried using the new array named list arrntv from solr 6.5 jenkins build
> but the json returned was broken when it returned response for spellcheck 
> with word break.
> for example :
> {code:javascript}
>  {"name":"collation",{
> "type":"str","value":"collationQuery":"indomie kuing",
> "hits":81,
> "misspellingsAndCorrections":
> [
>   {"name":"indomee","type":"str","value":"indomie"},
>   {"name":"kuih","type":"str","value":"kuing"}
> ]}
>  }
> {code}
> as you may see that "collationQuery":"indomie kuing" was considered as value 
> thus causing the json to fail.
> i think the correct json was :
> {code:javascript}
> {"name":"collation",
> "type":"object",
> "value":{
> "collationQuery":"indomie kuing",
> "hits":81,
> "misspellingsAndCorrections":
> [
>   {"name":"indomee","type":"str","value":"indomie"},
>   {"name":"kuih","type":"str","value":"kuing"}
> ]}
>  }
> {code}
> sorry for bad grammar english was not my first language and i know that 
> object was not supported by current arrntv options.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-9972) JSON-Specific Parameters arrntv causing some error for spellcheck component

2017-01-17 Thread Ricky Oktavianus Lazuardy (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-9972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ricky Oktavianus Lazuardy updated SOLR-9972:

Description: 
So I tried using the new array named list arrntv from solr 6.5 jenkins build
but the json returned was broken when it returned response for spellcheck with 
word break.
for example :
{quote}
 {"name":"collation",{
"type":"str","value":"collationQuery":"indomie kuing",
"hits":81,
"misspellingsAndCorrections":
[
  {"name":"indomee","type":"str","value":"indomie"},
  {"name":"kuih","type":"str","value":"kuing"}
]}
 }
{quote}
as you may see that "collationQuery":"indomie kuing" was considered as value 
thus causing the json to fail.
i think the correct json was :
{quote}
{"name":"collation",
"type":"object",
"value":{
"collationQuery":"indomie kuing",
"hits":81,
"misspellingsAndCorrections":
[
  {"name":"indomee","type":"str","value":"indomie"},
  {"name":"kuih","type":"str","value":"kuing"}
]}
 }
{quote}
sorry for bad grammar english was not my first language and i know that object 
was not supported by current arrntv options.

  was:
So I tried using the new array named list arrntv from solr 6.5 jenkins build
but the json returned was broken when it returned response for spellcheck with 
word break.
for example :
 {"name":"collation",{
"type":"str","value":"collationQuery":"indomie kuing",
"hits":81,
"misspellingsAndCorrections":
[
  {"name":"indomee","type":"str","value":"indomie"},
  {"name":"kuih","type":"str","value":"kuing"}
]}
 }
as you may see that "collationQuery":"indomie kuing" was considered as value 
thus causing the json to fail.
i think the correct json was :
{"name":"collation",
"type":"object",
"value":{
"collationQuery":"indomie kuing",
"hits":81,
"misspellingsAndCorrections":
[
  {"name":"indomee","type":"str","value":"indomie"},
  {"name":"kuih","type":"str","value":"kuing"}
]}
 }
sorry for bad grammar english was not my first language and i know that object 
was not supported by current arrntv options.


> JSON-Specific Parameters arrntv causing some error for spellcheck component
> ---
>
> Key: SOLR-9972
> URL: https://issues.apache.org/jira/browse/SOLR-9972
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Response Writers
>Affects Versions: 6.5
>Reporter: Ricky Oktavianus Lazuardy
>
> So I tried using the new array named list arrntv from solr 6.5 jenkins build
> but the json returned was broken when it returned response for spellcheck 
> with word break.
> for example :
> {quote}
>  {"name":"collation",{
> "type":"str","value":"collationQuery":"indomie kuing",
> "hits":81,
> "misspellingsAndCorrections":
> [
>   {"name":"indomee","type":"str","value":"indomie"},
>   {"name":"kuih","type":"str","value":"kuing"}
> ]}
>  }
> {quote}
> as you may see that "collationQuery":"indomie kuing" was considered as value 
> thus causing the json to fail.
> i think the correct json was :
> {quote}
> {"name":"collation",
> "type":"object",
> "value":{
> "collationQuery":"indomie kuing",
> "hits":81,
> "misspellingsAndCorrections":
> [
>   {"name":"indomee","type":"str","value":"indomie"},
>   {"name":"kuih","type":"str","value":"kuing"}
> ]}
>  }
> {quote}
> sorry for bad grammar english was not my first language and i know that 
> object was not supported by current arrntv options.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Created] (SOLR-9972) JSON-Specific Parameters arrntv causing some error for spellcheck component

2017-01-17 Thread Ricky Oktavianus Lazuardy (JIRA)
Ricky Oktavianus Lazuardy created SOLR-9972:
---

 Summary: JSON-Specific Parameters arrntv causing some error for 
spellcheck component
 Key: SOLR-9972
 URL: https://issues.apache.org/jira/browse/SOLR-9972
 Project: Solr
  Issue Type: Bug
  Security Level: Public (Default Security Level. Issues are Public)
  Components: Response Writers
Affects Versions: 6.5
Reporter: Ricky Oktavianus Lazuardy


So I tried using the new array named list arrntv from solr 6.5 jenkins build
but the json returned was broken when it returned response for spellcheck with 
word break.
for example :
 {"name":"collation",{
"type":"str","value":"collationQuery":"indomie kuing",
"hits":81,
"misspellingsAndCorrections":
[
  {"name":"indomee","type":"str","value":"indomie"},
  {"name":"kuih","type":"str","value":"kuing"}
]}
 }
as you may see that "collationQuery":"indomie kuing" was considered as value 
thus causing the json to fail.
i think the correct json was :
{"name":"collation",
"type":"object",
"value":{
"collationQuery":"indomie kuing",
"hits":81,
"misspellingsAndCorrections":
[
  {"name":"indomee","type":"str","value":"indomie"},
  {"name":"kuih","type":"str","value":"kuing"}
]}
 }
sorry for bad grammar english was not my first language and i know that object 
was not supported by current arrntv options.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org