[jira] Commented: (SOLR-1722) Allowing changing the special default core name, and as a default default core name, switch to using collection1 rather than DEFAULT_CORE

2010-02-08 Thread Mark Miller (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12830943#action_12830943
 ] 

Mark Miller commented on SOLR-1722:
---

If no one objects, I'd like to commit this soon. I think its a clear 
improvement on what is there now, so I'd like to get it in. I think we can talk 
about how the normalization occurs in another issue.

Doing things differently has its own back compat issues, and it would be nice 
if this configurability wasn't caught up in it. Another option we have is to 
leave the normalization as it is, but just change getName so that it returns 
the default name rather than .

 Allowing changing the special default core name, and as a default default 
 core name, switch to using collection1 rather than DEFAULT_CORE
 ---

 Key: SOLR-1722
 URL: https://issues.apache.org/jira/browse/SOLR-1722
 Project: Solr
  Issue Type: Improvement
Reporter: Mark Miller
Assignee: Mark Miller
Priority: Minor
 Fix For: 1.5

 Attachments: SOLR-1722.patch


 see 
 http://search.lucidimagination.com/search/document/f5f2af7c5041a79e/default_core

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (SOLR-1722) Allowing changing the special default core name, and as a default default core name, switch to using collection1 rather than DEFAULT_CORE

2010-01-26 Thread Mark Miller (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12805093#action_12805093
 ] 

Mark Miller commented on SOLR-1722:
---

Right - the issue with cloud was that if you ask for the core name, it's known 
as  rather than its other name.

So their are def advantages to doing this in the dispatch filter - you can use 
the non  name and you can get rid of all the normalization going on in core 
container - 

the problem is back compat I think - if we just normalize in the 
DispatchFilter, anyone counting on getting the default core with getCore() 
now will have their code broken.

 Allowing changing the special default core name, and as a default default 
 core name, switch to using collection1 rather than DEFAULT_CORE
 ---

 Key: SOLR-1722
 URL: https://issues.apache.org/jira/browse/SOLR-1722
 Project: Solr
  Issue Type: Improvement
Reporter: Mark Miller
Assignee: Mark Miller
Priority: Minor
 Fix For: 1.5

 Attachments: SOLR-1722.patch


 see 
 http://search.lucidimagination.com/search/document/f5f2af7c5041a79e/default_core

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (SOLR-1722) Allowing changing the special default core name, and as a default default core name, switch to using collection1 rather than DEFAULT_CORE

2010-01-23 Thread Yonik Seeley (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12804090#action_12804090
 ] 

Yonik Seeley commented on SOLR-1722:


OK, so normalization to  instead of the other way (to the non-zero length 
core name) did end up causing a problem in SolrCloud when we use the core of 
the request to look up the collection.

Seems like we should try to normalize the other way, and perhaps do the 
normalization in the dispatch filter rather than all of the lookup methods in 
core container?

 Allowing changing the special default core name, and as a default default 
 core name, switch to using collection1 rather than DEFAULT_CORE
 ---

 Key: SOLR-1722
 URL: https://issues.apache.org/jira/browse/SOLR-1722
 Project: Solr
  Issue Type: Improvement
Reporter: Mark Miller
Assignee: Mark Miller
Priority: Minor
 Fix For: 1.5

 Attachments: SOLR-1722.patch


 see 
 http://search.lucidimagination.com/search/document/f5f2af7c5041a79e/default_core

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (SOLR-1722) Allowing changing the special default core name, and as a default default core name, switch to using collection1 rather than DEFAULT_CORE

2010-01-14 Thread Yonik Seeley (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12800311#action_12800311
 ] 

Yonik Seeley commented on SOLR-1722:


I never really looked at the previous implementation of DEFAULT_CORE... but now 
I see that the default core name (if passed in) is normalized to .
Does this have any implications for the default core to also act completely 
like a normal core?  Do bad things happen in we normalized the other way 
(mapped  to the defaultCoreName)?

 Allowing changing the special default core name, and as a default default 
 core name, switch to using collection1 rather than DEFAULT_CORE
 ---

 Key: SOLR-1722
 URL: https://issues.apache.org/jira/browse/SOLR-1722
 Project: Solr
  Issue Type: Improvement
Reporter: Mark Miller
Assignee: Mark Miller
Priority: Minor
 Fix For: 1.5

 Attachments: SOLR-1722.patch


 see 
 http://search.lucidimagination.com/search/document/f5f2af7c5041a79e/default_core

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (SOLR-1722) Allowing changing the special default core name, and as a default default core name, switch to using collection1 rather than DEFAULT_CORE

2010-01-14 Thread Mark Miller (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-1722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12800318#action_12800318
 ] 

Mark Miller commented on SOLR-1722:
---

I'll have to check it out a little more - Noble switched this method when we 
removed alias'.

As far as I've seen so far, its not a problem. This is how we allow 
localhost:8983/solr (with no core name) to work currently. But everything I've 
looked at so far still works if you use localhost:8983/solr/DEFAULT_CORE

If we mapped the other way we would have to come up with a different method 
(like alias) to allow localhost:8983/solr for the default core.

 Allowing changing the special default core name, and as a default default 
 core name, switch to using collection1 rather than DEFAULT_CORE
 ---

 Key: SOLR-1722
 URL: https://issues.apache.org/jira/browse/SOLR-1722
 Project: Solr
  Issue Type: Improvement
Reporter: Mark Miller
Assignee: Mark Miller
Priority: Minor
 Fix For: 1.5

 Attachments: SOLR-1722.patch


 see 
 http://search.lucidimagination.com/search/document/f5f2af7c5041a79e/default_core

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.