You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Sachin Goyal (JIRA)" <ji...@apache.org> on 2017/11/29 19:18:00 UTC

[jira] [Updated] (SOLR-11704) sample_techproducts_configs is really out-of-date

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

Sachin Goyal updated SOLR-11704:
--------------------------------
    Description: 
Configs in sample_techproducts_configs seem to be very old.

{code}
diff server/solr/configsets/_default/conf/managed-schema ./server/solr/configsets/sample_techproducts_configs/conf/managed-schema | wc -l
{code}
=>   744

It seems sample_techproducts_configs have been ignored for any kind of updates and it would be good to bring it up-to-date with the other configs

  was:
Here are the solrconfig.xml when I download and unzip solr:

{code}
find . -name solrconfig.xml
./solr-5.5.1/example/example-DIH/solr/db/conf/solrconfig.xml
./solr-5.5.1/example/example-DIH/solr/mail/conf/solrconfig.xml
./solr-5.5.1/example/example-DIH/solr/rss/conf/solrconfig.xml
./solr-5.5.1/example/example-DIH/solr/solr/conf/solrconfig.xml
./solr-5.5.1/example/example-DIH/solr/tika/conf/solrconfig.xml
./solr-5.5.1/example/files/conf/solrconfig.xml
./solr-5.5.1/server/solr/configsets/basic_configs/conf/solrconfig.xml
./solr-5.5.1/server/solr/configsets/data_driven_schema_configs/conf/solrconfig.xml
./solr-5.5.1/server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml
{code}

Most likely, the ones I want to use are in server/solr/configsets, I assume.
But then which ones among those three?
Searching online does not provide much detailed information.
And diff-ing among them yields even more confusing results.
Example: When I diff basic_configs/conf/solrconfig.xml with data_driven_schema_configs/conf/solrconfig.xml, I am not sure why the latter has these extra constrcuts?

# solr.LimitTokenCountFilterFactory and all the comments around it.
# deletionPolicy class="solr.SolrDeletionPolicy"
# Commented out infoStream file="INFOSTREAM.txt"
# Extra comments for "Update Related Event Listeners"
# indexReaderFactory
# And so for lots of other constructs and comments.

The point is that it is difficult to find out exactly what extra features in the latter are making it data-driven. Hence it is difficult to know what features I am losing by not taking the data-driven-schema.

It would be good to sync the above 3 files together (each file should have same comments and differ only in the configuration which makes them different). Also, some good documentation should be put online about them otherwise it is very confusing for non-committers and vanilla-users.


> sample_techproducts_configs is really out-of-date
> -------------------------------------------------
>
>                 Key: SOLR-11704
>                 URL: https://issues.apache.org/jira/browse/SOLR-11704
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 7.1
>            Reporter: Sachin Goyal
>
> Configs in sample_techproducts_configs seem to be very old.
> {code}
> diff server/solr/configsets/_default/conf/managed-schema ./server/solr/configsets/sample_techproducts_configs/conf/managed-schema | wc -l
> {code}
> =>   744
> It seems sample_techproducts_configs have been ignored for any kind of updates and it would be good to bring it up-to-date with the other configs



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

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