Unable to access solr port.

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to access solr port.

vijayakumar
Hi,
   I installed riaksearch-0.14 version and I am able to define schema and query records with command line interface (search-cmd). But I am facing issue when I try to query the records with solr interface.

"curl http://<hostname>:8098/solr/bucketname?q=<testcriteria>" returns the following response

<HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>Not Found</H1>The requested document was not found on this server.<P><HR><ADDRESS>mochiweb+webmachine web server</ADDRESS></BODY></HTML>

and

"curl http://<hostname>:8098/"  returns the following response

<html><body><ul><li><a href="/riak">riak_kv_wm_link_walker</a></li><li><a href="/mapred">riak_kv_wm_mapred</a></li><li><a href="/ping">riak_kv_wm_ping</a></li><li><a href="/riak">riak_kv_wm_raw</a></li><li><a href="/stats">riak_kv_wm_stats</a></li></ul></body></html>.


Is there any configuration entry that I am missing to enable "solr" interface. Kindly help me out.


Thanks,
Vijay.






_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

RE: Unable to access solr port.

cyberpunkie
http://<hostname>:8098/solr/<yourbucket>



Date: Thu, 20 Oct 2011 13:46:18 +0530
Subject: Unable to access solr port.
From: [hidden email]
To: [hidden email]

Hi,
   I installed riaksearch-0.14 version and I am able to define schema and query records with command line interface (search-cmd). But I am facing issue when I try to query the records with solr interface.

"curl http://<hostname>:8098/solr/bucketname?q=<testcriteria>" returns the following response

<HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>Not Found</H1>The requested document was not found on this server.<P><HR><ADDRESS>mochiweb+webmachine web server</ADDRESS></BODY></HTML>

and

"curl http://<hostname>:8098/"  returns the following response

<html><body><ul><li><a href="/riak">riak_kv_wm_link_walker</a></li><li><a href="/mapred">riak_kv_wm_mapred</a></li><li><a href="/ping">riak_kv_wm_ping</a></li><li><a href="/riak">riak_kv_wm_raw</a></li><li><a href="/stats">riak_kv_wm_stats</a></li></ul></body></html>.


Is there any configuration entry that I am missing to enable "solr" interface. Kindly help me out.


Thanks,
Vijay.






_______________________________________________ riak-users mailing list [hidden email] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

Re: Unable to access solr port.

Dan Reverri
Hi Roberto,

Can you try appending '/select' after the bucket name? For example:
curl "http://localhost:8098/solr/books/select?start=0&rows=10000&q=prog*"

I found the above query in the Riak Search documentation here:

Thanks,
Dan

Daniel Reverri
Developer Advocate
Basho Technologies, Inc.
[hidden email]


On Thu, Oct 20, 2011 at 1:19 AM, Roberto Calero <[hidden email]> wrote:
http://<hostname>:8098/solr/<yourbucket>



Date: Thu, 20 Oct 2011 13:46:18 +0530
Subject: Unable to access solr port.
From: [hidden email]
To: [hidden email]


Hi,
   I installed riaksearch-0.14 version and I am able to define schema and query records with command line interface (search-cmd). But I am facing issue when I try to query the records with solr interface.

"curl http://<hostname>:8098/solr/bucketname?q=<testcriteria>" returns the following response

<HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>Not Found</H1>The requested document was not found on this server.<P><HR><ADDRESS>mochiweb+webmachine web server</ADDRESS></BODY></HTML>

and

"curl http://<hostname>:8098/"  returns the following response

<html><body><ul><li><a href="/riak">riak_kv_wm_link_walker</a></li><li><a href="/mapred">riak_kv_wm_mapred</a></li><li><a href="/ping">riak_kv_wm_ping</a></li><li><a href="/riak">riak_kv_wm_raw</a></li><li><a href="/stats">riak_kv_wm_stats</a></li></ul></body></html>.


Is there any configuration entry that I am missing to enable "solr" interface. Kindly help me out.


Thanks,
Vijay.






_______________________________________________ riak-users mailing list [hidden email] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com



_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

Re: Unable to access solr port.

vijayakumar
Hi Dan,
    
Appending with select also doesn't help.
     
"curl http://<hostname>:8098/solr/<bucketname>/select?q=<testcriteria>" returns the following response

<HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>Not Found</H1>The requested document was not found on this server.<P><HR><ADDRESS>mochiweb+webmachine web server</ADDRESS></BODY></HTML>

Regards,
Vijay.


On Thu, Oct 20, 2011 at 9:37 PM, Dan Reverri <[hidden email]> wrote:
Hi Roberto,

Can you try appending '/select' after the bucket name? For example:
curl "http://localhost:8098/solr/books/select?start=0&rows=10000&q=prog*"

I found the above query in the Riak Search documentation here:

Thanks,
Dan

Daniel Reverri
Developer Advocate
Basho Technologies, Inc.
[hidden email]



On Thu, Oct 20, 2011 at 1:19 AM, Roberto Calero <[hidden email]> wrote:
http://<hostname>:8098/solr/<yourbucket>



Date: Thu, 20 Oct 2011 13:46:18 +0530
Subject: Unable to access solr port.
From: [hidden email]
To: [hidden email]


Hi,
   I installed riaksearch-0.14 version and I am able to define schema and query records with command line interface (search-cmd). But I am facing issue when I try to query the records with solr interface.

"curl http://<hostname>:8098/solr/bucketname?q=<testcriteria>" returns the following response

<HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>Not Found</H1>The requested document was not found on this server.<P><HR><ADDRESS>mochiweb+webmachine web server</ADDRESS></BODY></HTML>

and

"curl http://<hostname>:8098/"  returns the following response

<html><body><ul><li><a href="/riak">riak_kv_wm_link_walker</a></li><li><a href="/mapred">riak_kv_wm_mapred</a></li><li><a href="/ping">riak_kv_wm_ping</a></li><li><a href="/riak">riak_kv_wm_raw</a></li><li><a href="/stats">riak_kv_wm_stats</a></li></ul></body></html>.


Is there any configuration entry that I am missing to enable "solr" interface. Kindly help me out.


Thanks,
Vijay.






_______________________________________________ riak-users mailing list [hidden email] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com




_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

RE: Unable to access solr port.

cyberpunkie
In reply to this post by Dan Reverri
You're right... yours is the right url.

I guess my fingers were too fast in hitting the send button.


Date: Thu, 20 Oct 2011 09:07:35 -0700
Subject: Re: Unable to access solr port.
From: [hidden email]
To: [hidden email]
CC: [hidden email]; [hidden email]

Hi Roberto,

Can you try appending '/select' after the bucket name? For example:
curl "http://localhost:8098/solr/books/select?start=0&rows=10000&q=prog*"

I found the above query in the Riak Search documentation here:

Thanks,
Dan

Daniel Reverri
Developer Advocate
Basho Technologies, Inc.
[hidden email]


On Thu, Oct 20, 2011 at 1:19 AM, Roberto Calero <[hidden email]> wrote:
http://<hostname>:8098/solr/<yourbucket>



Date: Thu, 20 Oct 2011 13:46:18 +0530
Subject: Unable to access solr port.
From: [hidden email]
To: [hidden email]


Hi,
   I installed riaksearch-0.14 version and I am able to define schema and query records with command line interface (search-cmd). But I am facing issue when I try to query the records with solr interface.

"curl http://<hostname>:8098/solr/bucketname?q=<testcriteria>" returns the following response

<HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>Not Found</H1>The requested document was not found on this server.<P><HR><ADDRESS>mochiweb+webmachine web server</ADDRESS></BODY></HTML>

and

"curl http://<hostname>:8098/"  returns the following response

<html><body><ul><li><a href="/riak">riak_kv_wm_link_walker</a></li><li><a href="/mapred">riak_kv_wm_mapred</a></li><li><a href="/ping">riak_kv_wm_ping</a></li><li><a href="/riak">riak_kv_wm_raw</a></li><li><a href="/stats">riak_kv_wm_stats</a></li></ul></body></html>.


Is there any configuration entry that I am missing to enable "solr" interface. Kindly help me out.


Thanks,
Vijay.






_______________________________________________ riak-users mailing list [hidden email] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com



_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

RE: Unable to access solr port.

cyberpunkie
In reply to this post by vijayakumar
Did you enable the bucket to be indexed?


Date: Thu, 20 Oct 2011 22:41:56 +0530
Subject: Re: Unable to access solr port.
From: [hidden email]
To: [hidden email]
CC: [hidden email]; [hidden email]

Hi Dan,
    
Appending with select also doesn't help.
     
"curl http://<hostname>:8098/solr/<bucketname>/select?q=<testcriteria>" returns the following response

<HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>Not Found</H1>The requested document was not found on this server.<P><HR><ADDRESS>mochiweb+webmachine web server</ADDRESS></BODY></HTML>

Regards,
Vijay.


On Thu, Oct 20, 2011 at 9:37 PM, Dan Reverri <[hidden email]> wrote:
Hi Roberto,

Can you try appending '/select' after the bucket name? For example:
curl "http://localhost:8098/solr/books/select?start=0&rows=10000&q=prog*"

I found the above query in the Riak Search documentation here:

Thanks,
Dan

Daniel Reverri
Developer Advocate
Basho Technologies, Inc.
[hidden email]



On Thu, Oct 20, 2011 at 1:19 AM, Roberto Calero <[hidden email]> wrote:
http://<hostname>:8098/solr/<yourbucket>



Date: Thu, 20 Oct 2011 13:46:18 +0530
Subject: Unable to access solr port.
From: [hidden email]
To: [hidden email]


Hi,
   I installed riaksearch-0.14 version and I am able to define schema and query records with command line interface (search-cmd). But I am facing issue when I try to query the records with solr interface.

"curl http://<hostname>:8098/solr/bucketname?q=<testcriteria>" returns the following response

<HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>Not Found</H1>The requested document was not found on this server.<P><HR><ADDRESS>mochiweb+webmachine web server</ADDRESS></BODY></HTML>

and

"curl http://<hostname>:8098/"  returns the following response

<html><body><ul><li><a href="/riak">riak_kv_wm_link_walker</a></li><li><a href="/mapred">riak_kv_wm_mapred</a></li><li><a href="/ping">riak_kv_wm_ping</a></li><li><a href="/riak">riak_kv_wm_raw</a></li><li><a href="/stats">riak_kv_wm_stats</a></li></ul></body></html>.


Is there any configuration entry that I am missing to enable "solr" interface. Kindly help me out.


Thanks,
Vijay.






_______________________________________________ riak-users mailing list [hidden email] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com




_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com