You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2009/10/23 04:54:59 UTC
[jira] Created: (SOLR-1521) el;iminate contrib/clustering/example
by moving to main example disabled by default
el;iminate contrib/clustering/example by moving to main example disabled by default
-----------------------------------------------------------------------------------
Key: SOLR-1521
URL: https://issues.apache.org/jira/browse/SOLR-1521
Project: Solr
Issue Type: Improvement
Reporter: Hoss Man
Fix For: 1.4
As noted in email, there is a tenuous connection between the main example and the clustering example in that they both use the same dataDir, so their schema files have to be kept in sync or the example will break...
http://www.nabble.com/clustering-schema-td25982682.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SOLR-1521) eliminate contrib/clustering/example by
moving to main example disabled by default
Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hoss Man updated SOLR-1521:
---------------------------
Summary: eliminate contrib/clustering/example by moving to main example disabled by default (was: el;iminate contrib/clustering/example by moving to main example disabled by default)
> eliminate contrib/clustering/example by moving to main example disabled by default
> ----------------------------------------------------------------------------------
>
> Key: SOLR-1521
> URL: https://issues.apache.org/jira/browse/SOLR-1521
> Project: Solr
> Issue Type: Improvement
> Reporter: Hoss Man
> Fix For: 1.4
>
> Attachments: SOLR-1521.patch
>
>
> As noted in email, there is a tenuous connection between the main example and the clustering example in that they both use the same dataDir, so their schema files have to be kept in sync or the example will break...
> http://www.nabble.com/clustering-schema-td25982682.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SOLR-1521) eliminate contrib/clustering/example
by moving to main example disabled by default
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769301#action_12769301 ]
Yonik Seeley commented on SOLR-1521:
------------------------------------
I'm +1 for committing...
> eliminate contrib/clustering/example by moving to main example disabled by default
> ----------------------------------------------------------------------------------
>
> Key: SOLR-1521
> URL: https://issues.apache.org/jira/browse/SOLR-1521
> Project: Solr
> Issue Type: Improvement
> Reporter: Hoss Man
> Fix For: 1.4
>
> Attachments: SOLR-1521.patch
>
>
> As noted in email, there is a tenuous connection between the main example and the clustering example in that they both use the same dataDir, so their schema files have to be kept in sync or the example will break...
> http://www.nabble.com/clustering-schema-td25982682.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SOLR-1521) eliminate contrib/clustering/example
by moving to main example disabled by default
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769054#action_12769054 ]
Yonik Seeley commented on SOLR-1521:
------------------------------------
Err, right, I deleted lib/download and there were no apparent errors if you avoided sending requests to the clustering handler.
I'll punt on whether the enable property should be there or not... clustering is on the edge of experimental that this point anyway.
> eliminate contrib/clustering/example by moving to main example disabled by default
> ----------------------------------------------------------------------------------
>
> Key: SOLR-1521
> URL: https://issues.apache.org/jira/browse/SOLR-1521
> Project: Solr
> Issue Type: Improvement
> Reporter: Hoss Man
> Fix For: 1.4
>
> Attachments: SOLR-1521.patch
>
>
> As noted in email, there is a tenuous connection between the main example and the clustering example in that they both use the same dataDir, so their schema files have to be kept in sync or the example will break...
> http://www.nabble.com/clustering-schema-td25982682.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SOLR-1521) eliminate contrib/clustering/example
by moving to main example disabled by default
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769041#action_12769041 ]
Yonik Seeley commented on SOLR-1521:
------------------------------------
Eliminating another solrhome sounds like a good simplification to me!
Is "enable" even needed to avoid throwing an exception? I just tried deleting the data directory and firing up the clustering example - no exceptions until I tried to actually hit it with a clustering request.
> eliminate contrib/clustering/example by moving to main example disabled by default
> ----------------------------------------------------------------------------------
>
> Key: SOLR-1521
> URL: https://issues.apache.org/jira/browse/SOLR-1521
> Project: Solr
> Issue Type: Improvement
> Reporter: Hoss Man
> Fix For: 1.4
>
> Attachments: SOLR-1521.patch
>
>
> As noted in email, there is a tenuous connection between the main example and the clustering example in that they both use the same dataDir, so their schema files have to be kept in sync or the example will break...
> http://www.nabble.com/clustering-schema-td25982682.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SOLR-1521) el;iminate contrib/clustering/example
by moving to main example disabled by default
Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hoss Man updated SOLR-1521:
---------------------------
Attachment: SOLR-1521.patch
Patch demonstrating my suggestion from email ... with this config you can run the clustering example (once the dependencies are downloaded) via...
{noformat}
cd example;
java -Dsolr.clustering.enabled=true -jar start.jar
http://localhost:8983/solr/clustering?indent=on&q=*:*&rows=10
{noformat}
if that system property is not set, the clustering component (and the hander it's configured on) will not be initalized, so it won't matter if the jars can't be found.
If people like this patch, we can also "svn rm contrib/clustering/example"
> el;iminate contrib/clustering/example by moving to main example disabled by default
> -----------------------------------------------------------------------------------
>
> Key: SOLR-1521
> URL: https://issues.apache.org/jira/browse/SOLR-1521
> Project: Solr
> Issue Type: Improvement
> Reporter: Hoss Man
> Fix For: 1.4
>
> Attachments: SOLR-1521.patch
>
>
> As noted in email, there is a tenuous connection between the main example and the clustering example in that they both use the same dataDir, so their schema files have to be kept in sync or the example will break...
> http://www.nabble.com/clustering-schema-td25982682.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SOLR-1521) eliminate contrib/clustering/example
by moving to main example disabled by default
Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hoss Man resolved SOLR-1521.
----------------------------
Resolution: Fixed
Assignee: Hoss Man
Committed revision 829493.
also updated the wiki...
http://wiki.apache.org/solr/ClusteringComponent
> eliminate contrib/clustering/example by moving to main example disabled by default
> ----------------------------------------------------------------------------------
>
> Key: SOLR-1521
> URL: https://issues.apache.org/jira/browse/SOLR-1521
> Project: Solr
> Issue Type: Improvement
> Reporter: Hoss Man
> Assignee: Hoss Man
> Fix For: 1.4
>
> Attachments: SOLR-1521.patch
>
>
> As noted in email, there is a tenuous connection between the main example and the clustering example in that they both use the same dataDir, so their schema files have to be kept in sync or the example will break...
> http://www.nabble.com/clustering-schema-td25982682.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SOLR-1521) eliminate contrib/clustering/example
by moving to main example disabled by default
Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769048#action_12769048 ]
Hoss Man commented on SOLR-1521:
--------------------------------
The data directory?
Do you mean you deleted lib/download and then tried it?... that's the real issue, that they won't have the libs available.
leaving them in w/o the system property based enable option probably would load fine and only fail if a clustering request was made, but the nice advantage of the enable property is that it prevents the component/handelr from even being listed in the registry/stats.
i'm cool either way ... whichever you think makes the example less confusing
> eliminate contrib/clustering/example by moving to main example disabled by default
> ----------------------------------------------------------------------------------
>
> Key: SOLR-1521
> URL: https://issues.apache.org/jira/browse/SOLR-1521
> Project: Solr
> Issue Type: Improvement
> Reporter: Hoss Man
> Fix For: 1.4
>
> Attachments: SOLR-1521.patch
>
>
> As noted in email, there is a tenuous connection between the main example and the clustering example in that they both use the same dataDir, so their schema files have to be kept in sync or the example will break...
> http://www.nabble.com/clustering-schema-td25982682.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.