[jira] [Commented] (SOLR-13272) Interval facet support for JSON faceting

2019-05-07 Thread Apoorv Bhawsar (JIRA)


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

Apoorv Bhawsar commented on SOLR-13272:
---

have updated PR to support following format for intervals, have added tests too

{code:java}
[
 { "key": "old books", "from": 50, "to": 1000 },
 { "key": "expensive", "from": 1000, "to": 3000, "inclusive_to": true, 
"inclusive_from":true }
]
{code}


> Interval facet support for JSON faceting
> 
>
> Key: SOLR-13272
> URL: https://issues.apache.org/jira/browse/SOLR-13272
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Facet Module
>Reporter: Apoorv Bhawsar
>Priority: Major
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Interval facet is supported in classical facet component but has no support 
> in json facet requests.
>  In cases of block join and aggregations, this would be helpful
> Assuming request format -
> {code:java}
> json.facet={pubyear:{type : interval,field : 
> pubyear_i,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
> {code}
>  
>  PR https://github.com/apache/lucene-solr/pull/597



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (SOLR-13272) Interval facet support for JSON faceting

2019-04-15 Thread Apoorv Bhawsar (JIRA)


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

Apoorv Bhawsar commented on SOLR-13272:
---

have updated PR to support both formats


{code:java}
"range": [0,200],
"include":[false, true]
{code}

Default value for include is [true,false]


> Interval facet support for JSON faceting
> 
>
> Key: SOLR-13272
> URL: https://issues.apache.org/jira/browse/SOLR-13272
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Facet Module
>Reporter: Apoorv Bhawsar
>Priority: Major
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Interval facet is supported in classical facet component but has no support 
> in json facet requests.
>  In cases of block join and aggregations, this would be helpful
> Assuming request format -
> {code:java}
> json.facet={pubyear:{type : interval,field : 
> pubyear_i,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
> {code}
>  
>  PR https://github.com/apache/lucene-solr/pull/597



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (SOLR-13272) Interval facet support for JSON faceting

2019-03-04 Thread Apoorv Bhawsar (JIRA)


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

Apoorv Bhawsar updated SOLR-13272:
--
Description: 
Interval facet is supported in classical facet component but has no support in 
json facet requests.
 In cases of block join and aggregations, this would be helpful

Assuming request format -
{code:java}
json.facet={pubyear:{type : interval,field : 
pubyear_i,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
{code}
 
 PR https://github.com/apache/lucene-solr/pull/597

  was:
Interval facet is supported in classical facet component but has no support in 
json facet requests.
 In cases of block join and aggregations, this would be helpful

Assuming request format -
{code:java}
json.facet={pubyear:{type : interval,field : 
pubyear_i,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
{code}
 
 PR 
[https://github.com/apache/lucene-solr/pull/597|https://github.com/apache/lucene-solr/pull/593]


> Interval facet support for JSON faceting
> 
>
> Key: SOLR-13272
> URL: https://issues.apache.org/jira/browse/SOLR-13272
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Facet Module
>Reporter: Apoorv Bhawsar
>Priority: Major
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Interval facet is supported in classical facet component but has no support 
> in json facet requests.
>  In cases of block join and aggregations, this would be helpful
> Assuming request format -
> {code:java}
> json.facet={pubyear:{type : interval,field : 
> pubyear_i,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
> {code}
>  
>  PR https://github.com/apache/lucene-solr/pull/597



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (SOLR-13272) Interval facet support for JSON faceting

2019-03-04 Thread Apoorv Bhawsar (JIRA)


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

Apoorv Bhawsar updated SOLR-13272:
--
Description: 
Interval facet is supported in classical facet component but has no support in 
json facet requests.
 In cases of block join and aggregations, this would be helpful

Assuming request format -
{code:java}
json.facet={pubyear:{type : interval,field : 
pubyear_i,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
{code}
 
 PR 
[https://github.com/apache/lucene-solr/pull/597|https://github.com/apache/lucene-solr/pull/593]

  was:
Interval facet is supported in classical facet component but has no support in 
json facet requests.
 In cases of block join and aggregations, this would be helpful

Assuming request format -
{code:java}
json.facet={pubyear:{type : range,field : 
pubyear_i,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
{code}
 
 PR 
[https://github.com/apache/lucene-solr/pull/597|https://github.com/apache/lucene-solr/pull/593]


> Interval facet support for JSON faceting
> 
>
> Key: SOLR-13272
> URL: https://issues.apache.org/jira/browse/SOLR-13272
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Facet Module
>Reporter: Apoorv Bhawsar
>Priority: Major
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Interval facet is supported in classical facet component but has no support 
> in json facet requests.
>  In cases of block join and aggregations, this would be helpful
> Assuming request format -
> {code:java}
> json.facet={pubyear:{type : interval,field : 
> pubyear_i,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
> {code}
>  
>  PR 
> [https://github.com/apache/lucene-solr/pull/597|https://github.com/apache/lucene-solr/pull/593]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (SOLR-13272) Interval facet support for JSON faceting

2019-03-04 Thread Apoorv Bhawsar (JIRA)


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

Apoorv Bhawsar updated SOLR-13272:
--
Description: 
Interval facet is supported in classical facet component but has no support in 
json facet requests.
 In cases of block join and aggregations, this would be helpful

Assuming request format -
{code:java}
json.facet={pubyear:{type : range,field : 
pubyear_i,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
{code}
 
 PR 
[https://github.com/apache/lucene-solr/pull/597|https://github.com/apache/lucene-solr/pull/593]

  was:
Interval facet is supported in classical facet component but has no support in 
json facet requests.
 In cases of block join and aggregations, this would be helpful

Assuming request format -
{code:java}
json.facet={pubyear:{type : range,field : 
pubyear_i,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
{code}
 
 PR [https://github.com/apache/lucene-solr/pull/593]


> Interval facet support for JSON faceting
> 
>
> Key: SOLR-13272
> URL: https://issues.apache.org/jira/browse/SOLR-13272
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Facet Module
>Reporter: Apoorv Bhawsar
>Priority: Major
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Interval facet is supported in classical facet component but has no support 
> in json facet requests.
>  In cases of block join and aggregations, this would be helpful
> Assuming request format -
> {code:java}
> json.facet={pubyear:{type : range,field : 
> pubyear_i,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
> {code}
>  
>  PR 
> [https://github.com/apache/lucene-solr/pull/597|https://github.com/apache/lucene-solr/pull/593]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (SOLR-13272) Interval facet support for JSON faceting

2019-02-28 Thread Apoorv Bhawsar (JIRA)


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

Apoorv Bhawsar updated SOLR-13272:
--
Description: 
Interval facet is supported in classical facet component but has no support in 
json facet requests.
 In cases of block join and aggregations, this would be helpful

Assuming request format -
{code:java}
json.facet={pubyear:{type : range,field : 
pubyear_i,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
{code}
 
 PR [https://github.com/apache/lucene-solr/pull/593]

  was:
Interval facet is supported in classical facet component but has no support in 
json facet requests.
 In cases of block join and aggregations, this would be helpful

Assuming request format -
{code:java}
json.facet={pubyear:{type : range,field : pubyear_i,start : 0,end : 
3000,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
{code}
 
PR https://github.com/apache/lucene-solr/pull/593


> Interval facet support for JSON faceting
> 
>
> Key: SOLR-13272
> URL: https://issues.apache.org/jira/browse/SOLR-13272
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Facet Module
>Reporter: Apoorv Bhawsar
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Interval facet is supported in classical facet component but has no support 
> in json facet requests.
>  In cases of block join and aggregations, this would be helpful
> Assuming request format -
> {code:java}
> json.facet={pubyear:{type : range,field : 
> pubyear_i,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
> {code}
>  
>  PR [https://github.com/apache/lucene-solr/pull/593]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (SOLR-13272) Interval facet support for JSON faceting

2019-02-27 Thread Apoorv Bhawsar (JIRA)


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

Apoorv Bhawsar updated SOLR-13272:
--
Attachment: (was: interval_json.patch)

> Interval facet support for JSON faceting
> 
>
> Key: SOLR-13272
> URL: https://issues.apache.org/jira/browse/SOLR-13272
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Facet Module
>Reporter: Apoorv Bhawsar
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Interval facet is supported in classical facet component but has no support 
> in json facet requests.
> In cases of block join and aggregations, this would be helpful
> Assuming request format -
> {code:java}
> json.facet={pubyear:{type : range,field : pubyear_i,start : 0,end : 
> 3000,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (SOLR-13272) Interval facet support for JSON faceting

2019-02-27 Thread Apoorv Bhawsar (JIRA)


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

Apoorv Bhawsar updated SOLR-13272:
--
Description: 
Interval facet is supported in classical facet component but has no support in 
json facet requests.
 In cases of block join and aggregations, this would be helpful

Assuming request format -
{code:java}
json.facet={pubyear:{type : range,field : pubyear_i,start : 0,end : 
3000,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
{code}
 
PR https://github.com/apache/lucene-solr/pull/593

  was:
Interval facet is supported in classical facet component but has no support in 
json facet requests.
In cases of block join and aggregations, this would be helpful

Assuming request format -
{code:java}
json.facet={pubyear:{type : range,field : pubyear_i,start : 0,end : 
3000,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
{code}
 


> Interval facet support for JSON faceting
> 
>
> Key: SOLR-13272
> URL: https://issues.apache.org/jira/browse/SOLR-13272
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Facet Module
>Reporter: Apoorv Bhawsar
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Interval facet is supported in classical facet component but has no support 
> in json facet requests.
>  In cases of block join and aggregations, this would be helpful
> Assuming request format -
> {code:java}
> json.facet={pubyear:{type : range,field : pubyear_i,start : 0,end : 
> 3000,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
> {code}
>  
> PR https://github.com/apache/lucene-solr/pull/593



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (SOLR-13272) Interval facet support for JSON faceting

2019-02-26 Thread Apoorv Bhawsar (JIRA)


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

Apoorv Bhawsar updated SOLR-13272:
--
Description: 
Interval facet is supported in classical facet component but has no support in 
json facet requests.
In cases of block join and aggregations, this would be helpful

Assuming request format -
{code:java}
json.facet={pubyear:{type : range,field : pubyear_i,start : 0,end : 
3000,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
{code}
 

  was:
Interval facet is supported in classical facet component but has no support in 
json facet requests.

Assuming request format -
{code:java}
json.facet={pubyear:{type : range,field : pubyear_i,start : 0,end : 
3000,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
{code}




 


> Interval facet support for JSON faceting
> 
>
> Key: SOLR-13272
> URL: https://issues.apache.org/jira/browse/SOLR-13272
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Facet Module
>Reporter: Apoorv Bhawsar
>Priority: Major
> Attachments: interval_json.patch
>
>
> Interval facet is supported in classical facet component but has no support 
> in json facet requests.
> In cases of block join and aggregations, this would be helpful
> Assuming request format -
> {code:java}
> json.facet={pubyear:{type : range,field : pubyear_i,start : 0,end : 
> 3000,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (SOLR-13272) Interval facet support for JSON faceting

2019-02-26 Thread Apoorv Bhawsar (JIRA)


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

Apoorv Bhawsar updated SOLR-13272:
--
Description: 
Interval facet is supported in classical facet component but has no support in 
json facet requests.

Assuming request format -
{code:java}
json.facet={pubyear:{type : range,field : pubyear_i,start : 0,end : 
3000,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
{code}




 

  was:Interval facet is supported in classical facet component but has no 
support in json facet requests.


> Interval facet support for JSON faceting
> 
>
> Key: SOLR-13272
> URL: https://issues.apache.org/jira/browse/SOLR-13272
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Facet Module
>Reporter: Apoorv Bhawsar
>Priority: Major
> Attachments: interval_json.patch
>
>
> Interval facet is supported in classical facet component but has no support 
> in json facet requests.
> Assuming request format -
> {code:java}
> json.facet={pubyear:{type : range,field : pubyear_i,start : 0,end : 
> 3000,intervals:[{key:"2000-2200",value:"[2000,2200]"}]}}
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (SOLR-13272) Interval facet support for JSON faceting

2019-02-26 Thread Apoorv Bhawsar (JIRA)


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

Apoorv Bhawsar updated SOLR-13272:
--
Attachment: interval_json.patch

> Interval facet support for JSON faceting
> 
>
> Key: SOLR-13272
> URL: https://issues.apache.org/jira/browse/SOLR-13272
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Facet Module
>Reporter: Apoorv Bhawsar
>Priority: Major
> Attachments: interval_json.patch
>
>
> Interval facet is supported in classical facet component but has no support 
> in json facet requests.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Created] (SOLR-13272) Interval facet support for JSON faceting

2019-02-26 Thread Apoorv Bhawsar (JIRA)
Apoorv Bhawsar created SOLR-13272:
-

 Summary: Interval facet support for JSON faceting
 Key: SOLR-13272
 URL: https://issues.apache.org/jira/browse/SOLR-13272
 Project: Solr
  Issue Type: New Feature
  Security Level: Public (Default Security Level. Issues are Public)
  Components: Facet Module
Reporter: Apoorv Bhawsar


Interval facet is supported in classical facet component but has no support in 
json facet requests.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (SOLR-11648) Create a web UI to display and execute suggestions

2018-01-23 Thread Apoorv Bhawsar (JIRA)

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

Apoorv Bhawsar commented on SOLR-11648:
---

[~cpoerschke] looking into it

> Create a web UI to display and execute suggestions
> --
>
> Key: SOLR-11648
> URL: https://issues.apache.org/jira/browse/SOLR-11648
> Project: Solr
>  Issue Type: Sub-task
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: AutoScaling
>Reporter: Noble Paul
>Assignee: Noble Paul
>Priority: Major
> Attachments: no_suggestions.png, screen1.png, screen2.png, 
> screen3.png, screen4.png, sidebar.jpg, suggestions_table.jpg, 
> suggestions_table.jpg
>
>
> Steps to show suggestions
> {code}
> bin/solr start -e cloud
> #give the following inputs for prompts
> This interactive session will help you launch a SolrCloud cluster on your 
> local workstation.
> To begin, how many Solr nodes would you like to run in your local cluster? 
> (specify 1-4 nodes) [2]: 
> 4
> Please provide a name for your new collection: [gettingstarted] 
> mycoll
> How many shards would you like to split mycoll into? [2]
> 4
> How many replicas per shard would you like to create? [2] 
> 2
> #run the following command so that there are violating replicas
> curl http://localhost:8983/api/cluster/autoscaling -H 
> 'Content-type:application/json' -d '{
> "set-cluster-policy": [
>   {"replica": "0", "shard": "#EACH", "port": 7574}
>   ]
> }'
> #hit the suggestions end point at the url
> http://localhost:8983/api/cluster/autoscaling/suggestions
> {code}
> add an entry to the sidebar as follows
> !sidebar.jpg!
> use the output of the suggestions API to map to the table data
> !suggestions_table.jpg!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Commented] (SOLR-11648) Create a web UI to display and execute suggestions

2017-12-18 Thread Apoorv Bhawsar (JIRA)

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

Apoorv Bhawsar commented on SOLR-11648:
---

[~noble.paul] have added the suggested changes to my PR

> Create a web UI to display and execute suggestions
> --
>
> Key: SOLR-11648
> URL: https://issues.apache.org/jira/browse/SOLR-11648
> Project: Solr
>  Issue Type: Sub-task
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: AutoScaling
>Reporter: Noble Paul
> Attachments: screen1.png, screen2.png, screen3.png, screen4.png, 
> sidebar.jpg, suggestions_table.jpg, suggestions_table.jpg
>
>
> Steps to show suggestions
> {code}
> bin/solr start -e cloud
> #give the following inputs for prompts
> This interactive session will help you launch a SolrCloud cluster on your 
> local workstation.
> To begin, how many Solr nodes would you like to run in your local cluster? 
> (specify 1-4 nodes) [2]: 
> 4
> Please provide a name for your new collection: [gettingstarted] 
> mycoll
> How many shards would you like to split mycoll into? [2]
> 4
> How many replicas per shard would you like to create? [2] 
> 2
> #run the following command so that there are violating replicas
> curl http://localhost:8983/api/cluster/autoscaling -H 
> 'Content-type:application/json' -d '{
> "set-cluster-policy": [
>   {"replica": "0", "shard": "#EACH", "port": 7574}
>   ]
> }'
> #hit the suggestions end point at the url
> http://localhost:8983/api/cluster/autoscaling/suggestions
> {code}
> add an entry to the sidebar as follows
> !sidebar.jpg!
> use the output of the suggestions API to map to the table data
> !suggestions_table.jpg!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (SOLR-11648) Create a web UI to display and execute suggestions

2017-11-27 Thread Apoorv Bhawsar (JIRA)

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

Apoorv Bhawsar commented on SOLR-11648:
---

Here is the pull request
`https://github.com/apache/lucene-solr/pull/276`

> Create a web UI to display and execute suggestions
> --
>
> Key: SOLR-11648
> URL: https://issues.apache.org/jira/browse/SOLR-11648
> Project: Solr
>  Issue Type: Sub-task
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: AutoScaling
>Reporter: Noble Paul
> Attachments: screen1.png, screen2.png, screen3.png, screen4.png, 
> sidebar.jpg, suggestions_table.jpg, suggestions_table.jpg
>
>
> Steps to show suggestions
> {code}
> bin/solr start -e cloud
> #give the following inputs for prompts
> Please provide a name for your new collection: [gettingstarted] 
> mycoll
> How many shards would you like to split mycoll into? [2]
> 4
> How many replicas per shard would you like to create? [2] 
> 2
> #run the following command so that there are violating replicas
> curl http://localhost:8983/api/cluster/autoscaling -H 
> 'Content-type:application/json' -d{
> "set-cluster-policy": [
>   {"replica": "0", "shard": "#EACH", "port": 7574}
>   ]
> }
> #hit the suggestions end point at the url
> http://localhost:8983/api/cluster/autoscaling/suggestions
> {code}
> add an entry to the sidebar as follows
> !sidebar.jpg!
> use the output of the suggestions API to map to the table data
> !suggestions_table.jpg!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Comment Edited] (SOLR-11648) Create a web UI to display and execute suggestions

2017-11-26 Thread Apoorv Bhawsar (JIRA)

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

Apoorv Bhawsar edited comment on SOLR-11648 at 11/26/17 8:45 AM:
-

Does this look okay?
[^screen1.png]
[^screen2.png]
[^screen3.png]
[^screen4.png]


was (Author: apoorvprecisely):
Does this look okay?

> Create a web UI to display and execute suggestions
> --
>
> Key: SOLR-11648
> URL: https://issues.apache.org/jira/browse/SOLR-11648
> Project: Solr
>  Issue Type: Sub-task
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: AutoScaling
>Reporter: Noble Paul
> Attachments: screen1.png, screen2.png, screen3.png, screen4.png, 
> sidebar.jpg, suggestions_table.jpg, suggestions_table.jpg
>
>
> Steps to show suggestions
> {code}
> bin/solr start -e cloud
> #give the following inputs for prompts
> Please provide a name for your new collection: [gettingstarted] 
> mycoll
> How many shards would you like to split mycoll into? [2]
> 4
> How many replicas per shard would you like to create? [2] 
> 2
> #run the following command so that there are violating replicas
> curl http://localhost:8983/api/cluster/autoscaling -H 
> 'Content-type:application/json' -d{
> "set-cluster-policy": [
>   {"replica": "0", "shard": "#EACH", "port": 7574}
>   ]
> }
> #hit the suggestions end point at the url
> http://localhost:8983/api/cluster/autoscaling/suggestions
> {code}
> add an entry to the sidebar as follows
> !sidebar.jpg!
> use the output of the suggestions API to map to the table data
> !suggestions_table.jpg!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Updated] (SOLR-11648) Create a web UI to display and execute suggestions

2017-11-26 Thread Apoorv Bhawsar (JIRA)

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

Apoorv Bhawsar updated SOLR-11648:
--
Attachment: screen4.png
screen3.png
screen2.png
screen1.png

Does this look okay?

> Create a web UI to display and execute suggestions
> --
>
> Key: SOLR-11648
> URL: https://issues.apache.org/jira/browse/SOLR-11648
> Project: Solr
>  Issue Type: Sub-task
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: AutoScaling
>Reporter: Noble Paul
> Attachments: screen1.png, screen2.png, screen3.png, screen4.png, 
> sidebar.jpg, suggestions_table.jpg, suggestions_table.jpg
>
>
> Steps to show suggestions
> {code}
> bin/solr start -e cloud
> #give the following inputs for prompts
> Please provide a name for your new collection: [gettingstarted] 
> mycoll
> How many shards would you like to split mycoll into? [2]
> 4
> How many replicas per shard would you like to create? [2] 
> 2
> #run the following command so that there are violating replicas
> curl http://localhost:8983/api/cluster/autoscaling -H 
> 'Content-type:application/json' -d{
> "set-cluster-policy": [
>   {"replica": "0", "shard": "#EACH", "port": 7574}
>   ]
> }
> #hit the suggestions end point at the url
> http://localhost:8983/api/cluster/autoscaling/suggestions
> {code}
> add an entry to the sidebar as follows
> !sidebar.jpg!
> use the output of the suggestions API to map to the table data
> !suggestions_table.jpg!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (SOLR-11648) Create a web UI to display and execute suggestions

2017-11-25 Thread Apoorv Bhawsar (JIRA)

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

Apoorv Bhawsar commented on SOLR-11648:
---

the command json that is returned from the suggestion, is there a simple way to 
map it to a POST operation?

> Create a web UI to display and execute suggestions
> --
>
> Key: SOLR-11648
> URL: https://issues.apache.org/jira/browse/SOLR-11648
> Project: Solr
>  Issue Type: Sub-task
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: AutoScaling
>Reporter: Noble Paul
> Attachments: sidebar.jpg, suggestions_table.jpg, suggestions_table.jpg
>
>
> Steps to show suggestions
> {code}
> bin/solr start -e cloud
> #give the following inputs for prompts
> Please provide a name for your new collection: [gettingstarted] 
> mycoll
> How many shards would you like to split mycoll into? [2]
> 4
> How many replicas per shard would you like to create? [2] 
> 2
> #run the following command so that there are violating replicas
> curl http://localhost:8983/api/cluster/autoscaling -H 
> 'Content-type:application/json' -d{
> "set-cluster-policy": [
>   {"replica": "0", "shard": "#EACH", "port": 7574}
>   ]
> }
> #hit the suggestions end point at the url
> http://localhost:8983/api/cluster/autoscaling/suggestions
> {code}
> add an entry to the sidebar as follows
> !sidebar.jpg!
> use the output of the suggestions API to map to the table data
> !suggestions_table.jpg!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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



[jira] [Commented] (SOLR-11648) Create a web UI to display and execute suggestions

2017-11-23 Thread Apoorv Bhawsar (JIRA)

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

Apoorv Bhawsar commented on SOLR-11648:
---

i'll work on it, 
i'm trying to hit the api, but i get 404 on `/api/cluster/autoscaling`

> Create a web UI to display and execute suggestions
> --
>
> Key: SOLR-11648
> URL: https://issues.apache.org/jira/browse/SOLR-11648
> Project: Solr
>  Issue Type: Sub-task
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: AutoScaling
>Reporter: Noble Paul
> Attachments: sidebar.jpg, suggestions_table.jpg, suggestions_table.jpg
>
>
> Steps to show suggestions
> {code}
> bin/solr start -e cloud
> #give the following inputs for prompts
> Please provide a name for your new collection: [gettingstarted] 
> mycoll
> How many shards would you like to split mycoll into? [2]
> 4
> How many replicas per shard would you like to create? [2] 
> 2
> #run the following command so that there are violating replicas
> curl http://localhost:8983/api/cluster/autoscaling -H 
> 'Content-type:application/json' -d{
> "set-cluster-policy": [
>   {"replica": "0", "shard": "#EACH", "port": 7574}
>   ]
> }
> #hit the suggestions end point at the url
> http://localhost:8983/api/cluster/autoscaling/suggestions
> {code}
> add an entry to the sidebar as follows
> !sidebar.jpg!
> use the output of the suggestions API to map to the table data
> !suggestions_table.jpg!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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