You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Initial setup and configuration](#initial-setup-and-configuration)
46
46
-[Running using a tunneling service (easy mode)](#running-using-a-tunneling-service-easy-mode)
47
47
-[HTTPS Setup on a VPS (static IP required)](#https-setup-on-a-vps-static-ip-required)
48
+
-[HTTPS Setup using external HTTPS proxy](#https-setup-using-external-https-proxy)
48
49
-[Usage](#usage)
49
50
-[Using Atomic-Server with the browser GUI](#using-atomic-server-with-the-browser-gui)
50
51
-[Use `atomic-cli` as client](#use-atomic-cli-as-client)
51
52
-[API](#api)
52
-
-[FAQ & Troubleshooting](#faq--troubleshooting)
53
+
-[FAQ \& Troubleshooting](#faq--troubleshooting)
53
54
-[Can / should I create backups?](#can--should-i-create-backups)
54
55
-[I lost the key / secret to my Root Agent, and the `/setup` invite is no longer usable! What now?](#i-lost-the-key--secret-to-my-root-agent-and-the-setup-invite-is-no-longer-usable-what-now)
55
56
-[How do I migrate my data to a new domain?](#how-do-i-migrate-my-data-to-a-new-domain)
56
57
-[How do I reset my database?](#how-do-i-reset-my-database)
57
58
-[How do I make my data private, yet available online?](#how-do-i-make-my-data-private-yet-available-online)
58
59
-[Items are missing in my Collections / Search results](#items-are-missing-in-my-collections--search-results)
59
60
-[I get a `failed to retrieve` error when opening](#i-get-a-failed-to-retrieve-error-when-opening)
60
-
-[What is `rdf-search` mode?](#what-is-rdf-search-mode)
61
61
-[Can I embed Atomic-Server in another application?](#can-i-embed-atomic-server-in-another-application)
62
62
-[Where is my data stored on my machine?](#where-is-my-data-stored-on-my-machine)
63
63
@@ -279,11 +279,6 @@ Also, if you can, recreate and describe the indexing issue in the issue tracker,
279
279
280
280
Try re-initializing atomic server `atomic-server --initialize`.
281
281
282
-
### What is `rdf-search` mode?
283
-
284
-
This turns `atomic-server` into a full-text search server that indexed RDF Turtle documents.
285
-
Check out [the readme](./rdf-search.md).
286
-
287
282
### Can I embed Atomic-Server in another application?
288
283
289
284
Yes. This is what I'm doing with the Tauri desktop distribution of Atomic-Server.
Copy file name to clipboardExpand all lines: server/src/config.rs
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -69,10 +69,6 @@ pub struct Opts {
69
69
#[clap(long, env = "ATOMIC_DATA_DIR")]
70
70
pubdata_dir:Option<PathBuf>,
71
71
72
-
/// CAUTION: Makes data publicly readable on the `/search` endpoint. When enabled, it allows POSTing to the /search endpoint and returns search results as single triples, without performing authentication checks. See https://github.com/atomicdata-dev/atomic-data-rust/blob/master/server/rdf-search.md
73
-
#[clap(long, env = "ATOMIC_RDF_SEARCH")]
74
-
pubrdf_search:bool,
75
-
76
72
/// By default, Atomic-Server keeps previous versions of resources indexed in Search. When enabling this flag, previous versions of resources are removed from the search index when their values are updated.
let subject_val = retrieved_doc.get_first(fields.subject).ok_or("No 'subject' in search doc found. This is required when indexing. Run with --rebuild-index")?;
298
-
let prop_val = retrieved_doc.get_first(fields.property).ok_or("No 'property' in search doc found. This is required when indexing. Run with --rebuild-index")?;
299
-
let value_val = retrieved_doc.get_first(fields.value).ok_or("No 'value' in search doc found. This is required when indexing. Run with --rebuild-index")?;
300
239
301
240
let subject = unpack_value(subject_val,&retrieved_doc,"Subject".to_string())?;
302
-
let property = unpack_value(prop_val,&retrieved_doc,"Property".to_string())?;
303
-
let value = unpack_value(value_val,&retrieved_doc,"Value".to_string())?;
0 commit comments