mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 08:59:55 +00:00
Deprecate Lucene
.. use a simple free text search against the ridecache now we have all the texts available and in memory .. no need to maintain an index, no dependency on a horrid lib with nasty dependencies and its faster too .. the free text search is very simple, will need to bolster it over time e.g. it matches text not words
This commit is contained in:
@@ -55,10 +55,6 @@
|
||||
#include "kqoauthmanager.h"
|
||||
#endif
|
||||
|
||||
#ifdef GC_HAVE_LUCENE
|
||||
#include "Lucene.h"
|
||||
#endif
|
||||
|
||||
#ifdef GC_HAVE_WFAPI
|
||||
#include "WFApi.h"
|
||||
#endif
|
||||
@@ -244,12 +240,6 @@ QString GcCrashDialog::versionHTML()
|
||||
vlc = "yes";
|
||||
#endif
|
||||
|
||||
// -- LUCENE ----
|
||||
QString clucene = "none";
|
||||
#ifdef GC_HAVE_LUCENE
|
||||
clucene = _CL_VERSION;
|
||||
#endif
|
||||
|
||||
#ifdef GC_HAVE_WFAPI
|
||||
QString wfapi = WFApi::getInstance()->apiVersion();
|
||||
#else
|
||||
@@ -292,8 +282,7 @@ QString GcCrashDialog::versionHTML()
|
||||
"<tr><td colspan=\"2\">LIBUSB</td><td>%11</td></tr>"
|
||||
"<tr><td colspan=\"2\">Wahoo API</td><td>%12</td></tr>"
|
||||
"<tr><td colspan=\"2\">VLC</td><td>%13</td></tr>"
|
||||
"<tr><td colspan=\"2\">LUCENE</td><td>%14</td></tr>"
|
||||
"<tr><td colspan=\"2\">VIDEO</td><td>%15</td></tr>"
|
||||
"<tr><td colspan=\"2\">VIDEO</td><td>%14</td></tr>"
|
||||
"</table>"
|
||||
)
|
||||
.arg(QT_VERSION_STR)
|
||||
@@ -309,7 +298,6 @@ QString GcCrashDialog::versionHTML()
|
||||
.arg(libusb)
|
||||
.arg(wfapi)
|
||||
.arg(vlc)
|
||||
.arg(clucene)
|
||||
#ifdef GC_VIDEO_NONE
|
||||
.arg("none")
|
||||
#elif defined GC_VIDEO_QUICKTIME
|
||||
|
||||
Reference in New Issue
Block a user