Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore publications from being indexed by Solr #6

Open
Zaid-Safadi opened this issue Apr 20, 2015 · 0 comments
Open

Ignore publications from being indexed by Solr #6

Zaid-Safadi opened this issue Apr 20, 2015 · 0 comments

Comments

@Zaid-Safadi
Copy link

Currently I can't find a way to ignore a specific publication from being indexed. If I have a website publication that shares the same page/component templates that include the indexing TBBs and I don't include this publication ID in the indexer configuration to map it to a Sold core URL then the publishing will fail (Assuming that I cleared the "DefaultCoreUrl" value in the "cd_storage_cong.xml")

This could be a simple update in "SolrIndexer.java" as it currently throws an exception:
throw new ConfigurationException("Could not find a Solr core or Solr Home for Publication Id: " + pubId);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant