First, the Velocity UI was never intended to be a user-facing application, if
for no other reason than it has direct access to Solr. And I can delete all the
docs in the collection, delete collections, create new collections and
all manner
of other really bad stuff.

So almost _every_ application has its own UI for search.

You don't need to worry in the least about the Solr code base. You shouldn't
have to care. All you need to do is send HTTP requests to Solr and deal with
the response.

For instance, try these two commands from a browser:
http://sever:port/solr/collection/query?q=*:*
(that's star colon star in case your e-mail makes the colon just a bold).
http://sever:port/solr/collection/select?q=*:*

You should see a JSON and XML response packet. _That's_ all you
really have to deal with. The rest of theUI has nothing to do with
Solr and everything to do with your UI skills, you "merely" have to parse
the response and display it pleasingly.

If you don't want to curl the commands or use your own HTTP client, you
can use SolrJ to query Solr and not have to parse the response because
there are a bunch of helper methods that make navigating the response
easier, google "solrj query example" and you'll see a bunch of examples. Be
a little careful to make sure the example you use is compatible with your
Solr version.

HTH,
Erick

On Tue, Jun 23, 2015 at 5:20 PM, Paden <rumsey...@gmail.com> wrote:
> Hello,
>
> I'm trying to custom build my own Solr interface in Visual Studios instead
> of using/modifying the original Velocity interface. I'm mostly doing this as
> a learning exercise for building UI that's why I'm opting out of using it.
>
> The problem is I'm pretty new and not sure where to begin. Most of the posts
> I've seen end in people opting to modify the default UI. Are there any good
> links to tutorials or good Solr classes I should look at as I'm trying to
> build this UI?
>
> This interface isn't to replace the Solr Admin page, it's simply to handle
> the querying of the indexed documents that I have.
>
> If this seems more an "exercise in futility" (due to vast amounts of code
> that needs written or whatnot) then please let me know. I don't really have
> any reason to believe it should be but I've been wrong before.
>
> Thanks in advance
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Creating-A-User-Interface-On-Top-of-Solr-tp4213541.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to