Hi Vince,

I don’t think Solr has a “browse” endpoint, maybe in the past it did?

You can use regular queries to browse film datased instead:

http://localhost:8983/solr/films/select?q=*:*
http://localhost:8983/solr/films/select?q=*:*&facet=true&facet.field=genre&rows=0

There is a more detailed tutorial on Solr documentation page:

https://solr.apache.org/guide/8_11/solr-tutorial.html#exercise-2

-ufuk yilmaz

Sent from Mail for Windows

From: Vince McMahon
Sent: Tuesday, November 21, 2023 5:00 AM
To: users@solr.apache.org
Subject: browse?

Hi,

I am following examples comes with the Solr 8.11.2.

http://localhost:8983/solr/films/browse

In the readme file for film, in folder \solr-8.11.2\example\films , it has
couple examples of browse
     - Browse the indexed films in a traditional browser search interface:
       http://localhost:8983/solr/films/browse

       Now browse including the genre field as a facet:
       http://localhost:8983/solr/films/browse?facet.field=genre

when I run those queries, i get 404.  how to fix it?
HTTP ERROR 404 Not Found
URI: /solr/films/browse
STATUS: 404
MESSAGE: Not Found
SERVLET: default

Reply via email to