Skip to content

Slices #4

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

Merged
merged 3 commits into from
May 15, 2017
Merged

Slices #4

merged 3 commits into from
May 15, 2017

Conversation

avstudnitz
Copy link
Contributor

@avstudnitz avstudnitz commented May 10, 2017

New functionality to index only a part of the products. You can choose how many parts ("slices") there are and which one you want to index. Additionaly, you can use the command line to clear the (swap) core or swap cores, so you can schedule your reindexing process yourself, even parallel to another indexing process.
Used by integer-net/solr-magento1#20.

* @return int[]
*/
public function getAllProductIds();
public function getAllProductIds($sliceId = null, $totalNumberSlices = null);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that changes in interfaces implemented by other packages are a BC break and require a major version bump. So the next release of solr-base must be 2.0.0

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure? You can still use this method as before if you skip the parameters. I'd see that as "new feature", but I don't see the BC break.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, now I see... you are right.

@avstudnitz avstudnitz merged commit 6f2340c into master May 15, 2017
@avstudnitz avstudnitz deleted the slices branch May 15, 2017 12:32
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

Successfully merging this pull request may close these issues.

2 participants