How to enable search in community version

1 view
Skip to first unread message

Rui Li

unread,
Aug 24, 2015, 6:26:31 PM8/24/15
to Stardog
hi, 

Why is this functionality disabled? How can I enable it?

Thanks.

Rui

Evren Sirin

unread,
Aug 26, 2015, 9:33:09 AM8/26/15
to Stardog
You cannot enable search function in the community version. You can
download a free 30-day trial of the enterprise version to use this
feature.

Best,
Evren
> --
> -- --
> You received this message because you are subscribed to the C&P "Stardog"
> group.
> To post to this group, send email to sta...@clarkparsia.com
> To unsubscribe from this group, send email to
> stardog+u...@clarkparsia.com
> For more options, visit this group at
> http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en

Rui Li

unread,
Sep 11, 2015, 12:56:14 PM9/11/15
to Stardog
But I just downloaded the 30 day trial of enterprise version and the search is still disabled. 

Kendall Clark

unread,
Sep 11, 2015, 1:01:03 PM9/11/15
to stardog
Can you tell us how you created the database?

Cheers,
Kendall



Rui Li

unread,
Sep 11, 2015, 1:08:25 PM9/11/15
to sta...@clarkparsia.com
Here is my command: stardog-admin db create -n CategoryGraph /home/ruili1/CategoryGraph/data/*.owl. 

Thanks. 

Rui


From: Kendall Clark <ken...@complexible.com>
To: stardog <sta...@clarkparsia.com>
Sent: Friday, September 11, 2015 10:00 AM
Subject: Re: [stardog-users] How to enable search in community version

--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
To unsubscribe from this group and stop receiving emails from it, send an email to stardog+u...@clarkparsia.com.


Kendall Clark

unread,
Sep 11, 2015, 1:15:56 PM9/11/15
to stardog
Rui,

According to the docs, http://docs.stardog.com/#_configuration_options, search isn’t enabled by default. You can enable it at db creation time. Or at any other time after the db is created.

See the db create and metadata set man pages for the details. Or you can do it in the Web Console.

Cheers,
Kendall


To unsubscribe from this group and stop receiving emails from it, send an email to stardog+unsubscribe@clarkparsia.com.


--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to

Rui Li

unread,
Sep 11, 2015, 3:04:52 PM9/11/15
to Stardog
Thanks for the instruction. But in the web console, it doesn't allow me to change the "Searchable" option. 

In the command line, I typed in:stardog-admin.bat metadata set -o SearchOptions.SEARCHABLE=true CategoryGraph. 

But it gave me the following error:
Sep 11, 2015 11:58:35 AM com.complexible.stardog.metadata.MetadataIO read
WARNING: Option not recognized SearchOptions.SEARCHABLE
Invalid option value: SearchOptions.SEARCHABLE=true.
--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
To unsubscribe from this group and stop receiving emails from it, send an email to stardog+u...@clarkparsia.com.


Fernando Hernandez

unread,
Sep 11, 2015, 3:32:34 PM9/11/15
to sta...@clarkparsia.com
On Fri, Sep 11, 2015 at 3:04 PM, Rui Li <rui...@gmail.com> wrote:
Thanks for the instruction. But in the web console, it doesn't allow me to change the "Searchable" option. 

In the command line, I typed in:stardog-admin.bat metadata set -o SearchOptions.SEARCHABLE=true CategoryGraph. 

But it gave me the following error:
Sep 11, 2015 11:58:35 AM com.complexible.stardog.metadata.MetadataIO read
WARNING: Option not recognized SearchOptions.SEARCHABLE
Invalid option value: SearchOptions.SEARCHABLE=true.

You're using the wrong syntax (SearchOptions.SEARCHABLE is the Java API option). The correct CLI option is

$ stardog-admin metadata set -o search.enabled=true myDb

Cheers,
Fernando

Rui Li

unread,
Sep 11, 2015, 4:33:32 PM9/11/15
to sta...@clarkparsia.com
Thanks, Fernando. I can run it now. 

But it says "Cannot change configuration option while the database CategoryGraph is online: search.en
abled=true". 


Rui


From: Fernando Hernandez <fern...@complexible.com>
To: sta...@clarkparsia.com
Sent: Friday, September 11, 2015 12:32 PM

Subject: Re: [stardog-users] How to enable search in community version

Fernando Hernandez

unread,
Sep 11, 2015, 4:41:26 PM9/11/15
to sta...@clarkparsia.com
On Fri, Sep 11, 2015 at 4:33 PM, 'Rui Li' via Stardog <sta...@clarkparsia.com> wrote:
Thanks, Fernando. I can run it now. 

But it says "Cannot change configuration option while the database CategoryGraph is online: search.en
abled=true". 

You need to offline the database first if you are going to modify a property like search:

$ stardog-admin db offline myDb
$ stardog-admin metadata set -o search.enabled=true myDb
$ stardog-admin db online

As an aside, there's no reason why you can't do this in the web console. If that's not the case, please let us know the steps to reproduce.

Cheers,
Fernando

Rui Li

unread,
Sep 11, 2015, 4:41:54 PM9/11/15
to Stardog, liru...@yahoo.com
I figured it out. I need to make the db offline first, change the configuration then make it online again. 

Great thanks!

Rui Li

unread,
Sep 11, 2015, 4:54:59 PM9/11/15
to Stardog, liru...@yahoo.com
I also figured out how to modify in the web console. I need to click on "Edit" first. :p 
Reply all
Reply to author
Forward
0 new messages