Skip to content
This repository has been archived by the owner on Nov 14, 2018. It is now read-only.

Search lucene refactoring #1624

Closed
wants to merge 9 commits into from
Closed

Search lucene refactoring #1624

wants to merge 9 commits into from

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Jan 22, 2014

@DeepDiver1975 @jcfischer @xdmx @icewind1991 this PR introduces a batch approach to indexing. That should solve the problem of storing the path as a job parameter. The new background job also takes care of indexing all unindexed files, not just one.

supersedes #1040
fixes owncloud/core#6479
fixes owncloud/core#6410

Do not yet merge, I intend to also add unit tests.

@karlitschek
Copy link
Contributor

Who is testing the migration from older versions?

@@ -71,27 +119,29 @@ static public function indexFile($path = '', $user = null) {
$doc = new \Zend_Search_Lucene_Document();

// index content for local files only
$localFile = $view->getLocalFile($path);
$localFile = $this->view->getLocalFile($path);
Copy link
Contributor

Choose a reason for hiding this comment

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

This does not "index content for local files only"

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

Successfully merging this pull request may close these issues.

[6.0.0a] lucence jobs store path instead of fileid Indexing is not working correctly
3 participants