Project

General

Profile

Bug #5625

Feedback on RhodeCode Full-text search docs

Added by Russell Warren 4 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
02.07.2020
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

I ran into a few problems with fill-text search, context being setting up for CE:

1. Docs generally are confusing for CE users (and probably EE), with several references to EE ,making you think fulltext search is not possible with CE

2. Docs indicate that (for CE) you need to install rhodecode-tools, but a functional rhodecode-index is available deep in the installation dir

For example, I ran it successfully from here:

/opt/rhodecode/store/8qrsy8va6pmh2ys9jkq69va511dan444-python2.7-rhodecode-tools-1.4.0/bin/rhodecode-index

Docs do say that EE has them pre-installed, seemingly at this location:

/home/user/.rccontrol/enterprise-1/profile/bin/rhodecode-index

Does EE just symlink the applications I found in place?

3. Docs say you can skip the .rhoderc file, but when you try the indicated method, you are told to create one

Here is example output:

$ /opt/rhodecode/store/8qrsy8va6pmh2ys9jkq69va511dan444-python2.7-rhodecode-tools-1.4.0/bin/rhodecode-index --instance-name=community-1 --api-host=http://127.0.0.1:10020 –-api-key=$RC_API_KEY
Usage: rhodecode-index [OPTIONS]
Try "rhodecode-index --help" for help.

Error: Invalid value for "-c" / "--config": File "/home/rhodecode/.rhoderc" does not exist.
You can run rhodecode-setup-config command to create this configuration file.

4. The doc note that says "Optionally it’s possible to use indexer without the .rhoderc" have some minor formatting issues on how to invoke rhodecode-index

Specifically, the html rendering is merging the -- double-dash in the given switches to rhodecode-index app into a single dash.

Also available in: Atom PDF