You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oodt.apache.org by lewismc <gi...@git.apache.org> on 2016/03/28 17:10:30 UTC

[GitHub] oodt pull request: OODT-925 Update schema.xml field definitions fo...

GitHub user lewismc opened a pull request:

    https://github.com/apache/oodt/pull/36

    OODT-925 Update schema.xml field definitions for SOLR 5.X

    This issue addresses https://issues.apache.org/jira/browse/OODT-925
    The patch 
     * removes all obsolete, non-backwards compatible fieldType's classes such as solr.IntField, LongField, FloatField, DoubleField and DateField. The Trie versions should now be used
     * removes all 'enablePositionIncrements="true" ' parameter entries which are no longer used in Solr 5.X
     * Removes all examples for different languages (generally ordered by ISO code) due to the absence of the relevant required stopwords files. These should be added and defined on a use-case basis. 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lewismc/oodt OODT-925

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/oodt/pull/36.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #36
    
----
commit 6aadf6780d1dca8d5cc0b08637ba6ffacdb17b86
Author: Lewis John McGibbney <le...@jpl.nasa.gov>
Date:   2016-03-28T15:09:58Z

    OODT-925 Update schema.xml field definitions for SOLR 5.X

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] oodt pull request: OODT-925 Update schema.xml field definitions fo...

Posted by lewismc <gi...@git.apache.org>.
Github user lewismc commented on the pull request:

    https://github.com/apache/oodt/pull/36#issuecomment-202432324
  
    Evidence of this patch being used is below
    ```
    lmcgibbn@LMC-032857 /usr/local/solr-5.4.0 $ ./bin/solr -e cloud
    
    Welcome to the SolrCloud example!
    
    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]:
    
    Ok, let's start up 2 Solr nodes for your example SolrCloud cluster.
    Please enter the port for node1 [8983]:
    
    Please enter the port for node2 [7574]:
    
    Creating Solr home directory /usr/local/solr-5.4.0/example/cloud/node1/solr
    Cloning /usr/local/solr-5.4.0/example/cloud/node1 into
       /usr/local/solr-5.4.0/example/cloud/node2
    
    Starting up Solr on port 8983 using command:
    bin/solr start -cloud -p 8983 -s "example/cloud/node1/solr"
    
    Waiting up to 30 seconds to see Solr running on port 8983 [/]
    Started Solr server on port 8983 (pid=6739). Happy searching!
    
    
    Starting up Solr on port 7574 using command:
    bin/solr start -cloud -p 7574 -s "example/cloud/node2/solr" -z localhost:9983
    
    Waiting up to 30 seconds to see Solr running on port 7574 [/]
    Started Solr server on port 7574 (pid=6839). Happy searching!
    
    
    Now let's create a new collection for indexing documents in your 2-node cluster.
    Please provide a name for your new collection: [gettingstarted]
    oodt
    How many shards would you like to split oodt into? [2]
    
    How many replicas per shard would you like to create? [2]
    
    Please choose a configuration for the oodt collection, available options are:
    basic_configs, data_driven_schema_configs, or sample_techproducts_configs [data_driven_schema_configs]
    basic_configs
    
    Connecting to ZooKeeper at localhost:9983 ...
    Uploading /usr/local/solr-5.4.0/server/solr/configsets/basic_configs/conf for config oodt to ZooKeeper at localhost:9983
    
    Creating new collection 'oodt' using command:
    http://localhost:8983/solr/admin/collections?action=CREATE&name=oodt&numShards=2&replicationFactor=2&maxShardsPerNode=2&collection.configName=oodt
    
    {
      "responseHeader":{
        "status":0,
        "QTime":3773},
      "success":{"":{
          "responseHeader":{
            "status":0,
            "QTime":3534},
          "core":"oodt_shard2_replica2"}}}
    
    Enabling auto soft-commits with maxTime 3 secs using the Config API
    
    POSTing request to Config API: http://localhost:8983/solr/oodt/config
    {"set-property":{"updateHandler.autoSoftCommit.maxTime":"3000"}}
    Successfully set-property updateHandler.autoSoftCommit.maxTime to 3000
    
    
    SolrCloud example running, please visit: http://localhost:8983/solr
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] oodt pull request: OODT-925 Update schema.xml field definitions fo...

Posted by lewismc <gi...@git.apache.org>.
Github user lewismc commented on the pull request:

    https://github.com/apache/oodt/pull/36#issuecomment-206345429
  
    Anyone able to test this patch out?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] oodt pull request: OODT-925 Update schema.xml field definitions fo...

Posted by chrismattmann <gi...@git.apache.org>.
Github user chrismattmann commented on the pull request:

    https://github.com/apache/oodt/pull/36#issuecomment-206390441
  
    @lewismc I don't have a Solr5 install, but I am +1 on reviewing the patch looks clean. One question I have - does this maintain back compat with Solr4 schema? If not, I'd like us to keep a schema4.xml and schema5.xml file. Make sense?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] oodt pull request: OODT-925 Update schema.xml field definitions fo...

Posted by lewismc <gi...@git.apache.org>.
Github user lewismc commented on the pull request:

    https://github.com/apache/oodt/pull/36#issuecomment-206502059
  
    I screwed this PR up, please refer to https://github.com/apache/oodt/pull/38


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] oodt pull request: OODT-925 Update schema.xml field definitions fo...

Posted by lewismc <gi...@git.apache.org>.
Github user lewismc commented on the pull request:

    https://github.com/apache/oodt/pull/36#issuecomment-206393493
  
    bq. One question I have - does this maintain back compat with Solr4 schema?
    
    No. I'll resend a PR which achieves this though. Good shout. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] oodt pull request: OODT-925 Update schema.xml field definitions fo...

Posted by lewismc <gi...@git.apache.org>.
Github user lewismc commented on the pull request:

    https://github.com/apache/oodt/pull/36#issuecomment-205691424
  
    Any objections to commit?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] oodt pull request: OODT-925 Update schema.xml field definitions fo...

Posted by lewismc <gi...@git.apache.org>.
Github user lewismc closed the pull request at:

    https://github.com/apache/oodt/pull/36


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---