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

use OCA.Search to customize results #57

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Feb 4, 2015

fixes #55 as the full text results were lacking the code to properly integrate with the full page results. code got lost somewhere ... cc @DeepDiver1975 @jnfrmarks

@karlitschek
Copy link

makes sense 👍

@DeepDiver1975 DeepDiver1975 added this to the 8.0-current milestone Feb 4, 2015
@DeepDiver1975
Copy link
Contributor

@butonic ouch - what happened to the unit tests?

@DeepDiver1975
Copy link
Contributor

hmm - requires rebase ...

@@ -47,7 +48,7 @@ public function __construct(QueryHit $hit) {
);
$this->permissions = $this->getPermissions($this->path);
$this->modified = (int)$hit->mtime;
$this->mime_type = $hit->mimetype;
$this->mime = $hit->mimetype;
Copy link
Contributor

Choose a reason for hiding this comment

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

@VicDeo VicDeo modified the milestones: 8.1-current, 8.0 Mar 30, 2015
@@ -15,6 +15,7 @@
// --- always add js & css -----------------------------------------------

OCP\Util::addScript('search_lucene', 'checker');
OCP\Util::addScript('search_lucene', 'search');
Copy link
Contributor

Choose a reason for hiding this comment

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

@butonic this file is missing in js folder

@butonic
Copy link
Contributor Author

butonic commented Apr 15, 2015

@VicDeo thx, added it

@butonic
Copy link
Contributor Author

butonic commented May 27, 2015

@VicDeo good to go?

@VicDeo
Copy link
Contributor

VicDeo commented May 27, 2015

@butonic TBH, I can't make search results to appear for master and this branch.
JSON response has the search results but they are not displayed.
Additionally for this PR console warn about missing etag is logged

@VicDeo
Copy link
Contributor

VicDeo commented May 28, 2015

@butonic ok, got it.

missing etag causes js error while quireing a preview and results are not rendered at all. Needs to be fixed in this PR

Additionally #searchresults has margin-top:-250px. when there are only results for 'other places' (e.g. lucene) these results are pushed too high to top (and become invisible). This one is tracked at owncloud/core#16878

@VicDeo VicDeo force-pushed the fix_results_for_full_page branch 2 times, most recently from f0449b3 to c4fb111 Compare May 30, 2015 07:32
@MorrisJobke
Copy link
Contributor

I don't think it will make it into 8.1 -> moving to 9.0

cc @karlitschek @cmonteroluque

@MorrisJobke MorrisJobke modified the milestones: 9.0-current, 8.1 Oct 20, 2015
@DeepDiver1975
Copy link
Contributor

search lucene is a pure appstore app now - we need to push an updated version for 8.2

@DeepDiver1975
Copy link
Contributor

in addition: taking care about comments would be great as well
https://apps.owncloud.com/content/show.php/Search+Lucene?content=168709

@MorrisJobke
Copy link
Contributor

Not yet reviewed -> 9.1

@MorrisJobke MorrisJobke modified the milestones: 9.1-next, 9.0-current Mar 4, 2016
@PVince81 PVince81 modified the milestones: 9.1.1, 9.1 Jul 12, 2016
@PVince81
Copy link
Contributor

moving to 9.1.1

@PVince81
Copy link
Contributor

enhancement/new API -> 9.2 (let me know if you think otherwise)

@PVince81 PVince81 modified the milestones: 9.2, 9.1.1 Aug 16, 2016
@PVince81
Copy link
Contributor

PVince81 commented Apr 6, 2017

move to backlog or 10.0.1 ? (and find reviewers)

@PVince81
Copy link
Contributor

backlog

@PVince81 PVince81 modified the milestones: backlog, 10.0 Jun 29, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Search results only found in .pdf and .odt files
6 participants