FAQ
Add example Query page to the example
-------------------------------------

Key: SOLR-1848
URL: https://issues.apache.org/jira/browse/SOLR-1848
Project: Solr
Issue Type: Improvement
Reporter: Grant Ingersoll
Priority: Trivial


I've wired up a static jetty context and hooked in a simple HTML page that shows off a bunch of the different types of queries people can do w/ the Example data. Browse to it at http://localhost:8983/example/queries.html

Will commit shortly.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

  • Grant Ingersoll (JIRA) at Mar 26, 2010 at 5:26 pm
    [ https://issues.apache.org/jira/browse/SOLR-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850226#action_12850226 ]

    Grant Ingersoll commented on SOLR-1848:
    ---------------------------------------

    Make that http://localhost:8983/solr/example/queries.html
    Add example Query page to the example
    -------------------------------------

    Key: SOLR-1848
    URL: https://issues.apache.org/jira/browse/SOLR-1848
    Project: Solr
    Issue Type: Improvement
    Reporter: Grant Ingersoll
    Priority: Trivial

    I've wired up a static jetty context and hooked in a simple HTML page that shows off a bunch of the different types of queries people can do w/ the Example data. Browse to it at http://localhost:8983/example/queries.html
    Will commit shortly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Yonik Seeley (JIRA) at Mar 26, 2010 at 5:52 pm
    [ https://issues.apache.org/jira/browse/SOLR-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850251#action_12850251 ]

    Yonik Seeley commented on SOLR-1848:
    ------------------------------------

    What's the motivation for including them in the solr webapp?
    Stuff like this works fine from the tutorial on the website, or from a wiki page.

    And I've been trying to get rid of the extra directories in "example", not add more :-)
    Add example Query page to the example
    -------------------------------------

    Key: SOLR-1848
    URL: https://issues.apache.org/jira/browse/SOLR-1848
    Project: Solr
    Issue Type: Improvement
    Reporter: Grant Ingersoll
    Priority: Trivial

    I've wired up a static jetty context and hooked in a simple HTML page that shows off a bunch of the different types of queries people can do w/ the Example data. Browse to it at http://localhost:8983/example/queries.html
    Will commit shortly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Grant Ingersoll (JIRA) at Mar 26, 2010 at 5:56 pm
    [ https://issues.apache.org/jira/browse/SOLR-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850254#action_12850254 ]

    Grant Ingersoll commented on SOLR-1848:
    ---------------------------------------

    B/c you don't always have access to those. This is nice and handy and concise and included in the example w/o having to go looking all around. If anything, the tutorial should be shipped w/ the example.
    Add example Query page to the example
    -------------------------------------

    Key: SOLR-1848
    URL: https://issues.apache.org/jira/browse/SOLR-1848
    Project: Solr
    Issue Type: Improvement
    Reporter: Grant Ingersoll
    Priority: Trivial

    I've wired up a static jetty context and hooked in a simple HTML page that shows off a bunch of the different types of queries people can do w/ the Example data. Browse to it at http://localhost:8983/example/queries.html
    Will commit shortly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Yonik Seeley (JIRA) at Mar 26, 2010 at 5:58 pm
    [ https://issues.apache.org/jira/browse/SOLR-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850256#action_12850256 ]

    Yonik Seeley commented on SOLR-1848:
    ------------------------------------

    I believe the tutorial is already shipped in the solr download.
    Add example Query page to the example
    -------------------------------------

    Key: SOLR-1848
    URL: https://issues.apache.org/jira/browse/SOLR-1848
    Project: Solr
    Issue Type: Improvement
    Reporter: Grant Ingersoll
    Priority: Trivial

    I've wired up a static jetty context and hooked in a simple HTML page that shows off a bunch of the different types of queries people can do w/ the Example data. Browse to it at http://localhost:8983/example/queries.html
    Will commit shortly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Yonik Seeley (JIRA) at Mar 26, 2010 at 6:00 pm
    [ https://issues.apache.org/jira/browse/SOLR-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850257#action_12850257 ]

    Yonik Seeley commented on SOLR-1848:
    ------------------------------------

    This also complicates setting up with different servlet containers. Someone can't drop the solr.war into tomcat, or in a different jetty container, and follow along with the tutorial anymore. I think we should revert this and keep things simple.

    Add example Query page to the example
    -------------------------------------

    Key: SOLR-1848
    URL: https://issues.apache.org/jira/browse/SOLR-1848
    Project: Solr
    Issue Type: Improvement
    Reporter: Grant Ingersoll
    Priority: Trivial

    I've wired up a static jetty context and hooked in a simple HTML page that shows off a bunch of the different types of queries people can do w/ the Example data. Browse to it at http://localhost:8983/example/queries.html
    Will commit shortly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Grant Ingersoll (JIRA) at Mar 26, 2010 at 6:04 pm
    [ https://issues.apache.org/jira/browse/SOLR-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850263#action_12850263 ]

    Grant Ingersoll commented on SOLR-1848:
    ---------------------------------------

    Seriously, Yonik? This is worth the discussion? It's a jetty context file and a static HTML page that contains some handy examples of how to work with Solr w/o going all over the place.
    Add example Query page to the example
    -------------------------------------

    Key: SOLR-1848
    URL: https://issues.apache.org/jira/browse/SOLR-1848
    Project: Solr
    Issue Type: Improvement
    Reporter: Grant Ingersoll
    Priority: Trivial

    I've wired up a static jetty context and hooked in a simple HTML page that shows off a bunch of the different types of queries people can do w/ the Example data. Browse to it at http://localhost:8983/example/queries.html
    Will commit shortly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Yonik Seeley (JIRA) at Mar 26, 2010 at 6:10 pm
    [ https://issues.apache.org/jira/browse/SOLR-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850269#action_12850269 ]

    Yonik Seeley commented on SOLR-1848:
    ------------------------------------

    If it's not worth the discussion, hopefully you won't mind if it's reverted then?
    Add example Query page to the example
    -------------------------------------

    Key: SOLR-1848
    URL: https://issues.apache.org/jira/browse/SOLR-1848
    Project: Solr
    Issue Type: Improvement
    Reporter: Grant Ingersoll
    Priority: Trivial

    I've wired up a static jetty context and hooked in a simple HTML page that shows off a bunch of the different types of queries people can do w/ the Example data. Browse to it at http://localhost:8983/example/queries.html
    Will commit shortly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Grant Ingersoll (JIRA) at Mar 26, 2010 at 6:18 pm
    [ https://issues.apache.org/jira/browse/SOLR-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850272#action_12850272 ]

    Grant Ingersoll commented on SOLR-1848:
    ---------------------------------------

    Whatever. Do as you wish.
    Add example Query page to the example
    -------------------------------------

    Key: SOLR-1848
    URL: https://issues.apache.org/jira/browse/SOLR-1848
    Project: Solr
    Issue Type: Improvement
    Reporter: Grant Ingersoll
    Priority: Trivial

    I've wired up a static jetty context and hooked in a simple HTML page that shows off a bunch of the different types of queries people can do w/ the Example data. Browse to it at http://localhost:8983/example/queries.html
    Will commit shortly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Grant Ingersoll (JIRA) at Mar 26, 2010 at 6:18 pm
    [ https://issues.apache.org/jira/browse/SOLR-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850272#action_12850272 ]

    Grant Ingersoll edited comment on SOLR-1848 at 3/26/10 6:17 PM:
    ----------------------------------------------------------------

    Whatever. Do as you wish. Just b/c you don't find something useful doesn't mean others won't.

    was (Author: gsingers):
    Whatever. Do as you wish.
    Add example Query page to the example
    -------------------------------------

    Key: SOLR-1848
    URL: https://issues.apache.org/jira/browse/SOLR-1848
    Project: Solr
    Issue Type: Improvement
    Reporter: Grant Ingersoll
    Priority: Trivial

    I've wired up a static jetty context and hooked in a simple HTML page that shows off a bunch of the different types of queries people can do w/ the Example data. Browse to it at http://localhost:8983/example/queries.html
    Will commit shortly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Yonik Seeley (JIRA) at Mar 26, 2010 at 6:18 pm
    [ https://issues.apache.org/jira/browse/SOLR-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850274#action_12850274 ]

    Yonik Seeley commented on SOLR-1848:
    ------------------------------------

    I guess an argument could also be made for putting the whole tutorial page in the example server.
    But it's certainly something that warrants discussion.
    Add example Query page to the example
    -------------------------------------

    Key: SOLR-1848
    URL: https://issues.apache.org/jira/browse/SOLR-1848
    Project: Solr
    Issue Type: Improvement
    Reporter: Grant Ingersoll
    Priority: Trivial

    I've wired up a static jetty context and hooked in a simple HTML page that shows off a bunch of the different types of queries people can do w/ the Example data. Browse to it at http://localhost:8983/example/queries.html
    Will commit shortly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Yonik Seeley (JIRA) at Mar 26, 2010 at 6:22 pm
    [ https://issues.apache.org/jira/browse/SOLR-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850276#action_12850276 ]

    Yonik Seeley commented on SOLR-1848:
    ------------------------------------

    bq. Just b/c you don't find something useful doesn't mean others won't.

    Of course... but one could use such an argument to support anything.
    In this specific case, it doesn't seem like there is enough benefit to outweigh the additional complexity.

    Add example Query page to the example
    -------------------------------------

    Key: SOLR-1848
    URL: https://issues.apache.org/jira/browse/SOLR-1848
    Project: Solr
    Issue Type: Improvement
    Reporter: Grant Ingersoll
    Priority: Trivial

    I've wired up a static jetty context and hooked in a simple HTML page that shows off a bunch of the different types of queries people can do w/ the Example data. Browse to it at http://localhost:8983/example/queries.html
    Will commit shortly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Yonik Seeley (JIRA) at Mar 26, 2010 at 8:08 pm
    [ https://issues.apache.org/jira/browse/SOLR-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850329#action_12850329 ]

    Yonik Seeley commented on SOLR-1848:
    ------------------------------------

    OK, I've reverted this for now.
    If people want changes to the current tutorial structure, we can have more discussion to hash out the best way to achieve that.
    Add example Query page to the example
    -------------------------------------

    Key: SOLR-1848
    URL: https://issues.apache.org/jira/browse/SOLR-1848
    Project: Solr
    Issue Type: Improvement
    Reporter: Grant Ingersoll
    Priority: Trivial

    I've wired up a static jetty context and hooked in a simple HTML page that shows off a bunch of the different types of queries people can do w/ the Example data. Browse to it at http://localhost:8983/example/queries.html
    Will commit shortly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hoss Man (JIRA) at Mar 29, 2010 at 9:06 pm
    [ https://issues.apache.org/jira/browse/SOLR-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851092#action_12851092 ]

    Hoss Man commented on SOLR-1848:
    --------------------------------

    I'm confused by yonik's comment...

    bq .What's the motivation for including them in the solr webapp?

    I agree, adding things to solr.war just for the purpose of the example/tutorial is a bad idea, but from what i can tell Grant's commit didn't do that -- it just added configuration so that people running "java -jar start.jar" had both the solr webapp running as well as a "static" webapp containing a form. if they copied the solr.war file, or the "example/solr" home they wouldn't be affected at all.

    I suppose for people who copy the *entire* example directory there might be some unnecessary stuff -- but that's going to always be true (unless we get rid of exampledocs)

    Frankly though: the queries.html is so simple, i really don't understand why we wouldn't just expand the tutorial to include those links.
    Add example Query page to the example
    -------------------------------------

    Key: SOLR-1848
    URL: https://issues.apache.org/jira/browse/SOLR-1848
    Project: Solr
    Issue Type: Improvement
    Reporter: Grant Ingersoll
    Priority: Trivial

    I've wired up a static jetty context and hooked in a simple HTML page that shows off a bunch of the different types of queries people can do w/ the Example data. Browse to it at http://localhost:8983/example/queries.html
    Will commit shortly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Yonik Seeley (JIRA) at Mar 29, 2010 at 9:12 pm
    [ https://issues.apache.org/jira/browse/SOLR-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851098#action_12851098 ]

    Yonik Seeley commented on SOLR-1848:
    ------------------------------------

    bq. Frankly though: the queries.html is so simple, i really don't understand why we wouldn't just expand the tutorial to include those links.

    Spatial is a cool enough feature, it might make sense to add a little section (like faceting has) to the tutorial when it's mature enough. As long as it's easy and simple enough though... it seems like one of the primary goals of the tutorial should be to give users a feeling of accomplishment and a feeling of "this solr stuff is easy to use!".
    Add example Query page to the example
    -------------------------------------

    Key: SOLR-1848
    URL: https://issues.apache.org/jira/browse/SOLR-1848
    Project: Solr
    Issue Type: Improvement
    Reporter: Grant Ingersoll
    Priority: Trivial

    I've wired up a static jetty context and hooked in a simple HTML page that shows off a bunch of the different types of queries people can do w/ the Example data. Browse to it at http://localhost:8983/example/queries.html
    Will commit shortly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Hoss Man (JIRA) at Mar 29, 2010 at 10:04 pm
    [ https://issues.apache.org/jira/browse/SOLR-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851131#action_12851131 ]

    Hoss Man commented on SOLR-1848:
    --------------------------------

    Agreed: as we start adding sections, it will maek a lot of sense to split the tutorial out into multiple pages: the (existing) intro page shoiwing how easy it is to load data and do basic queries w/faceting and highlighting, a second page showing off spatial queries, a third page showing spell check (and myabe more like this), DIH should have a page, etc...

    With the possible exception of distributed search (where multiple ports need to be up and running) there's no reason all of these things can't be demoed from a single example.
    Add example Query page to the example
    -------------------------------------

    Key: SOLR-1848
    URL: https://issues.apache.org/jira/browse/SOLR-1848
    Project: Solr
    Issue Type: Improvement
    Reporter: Grant Ingersoll
    Priority: Trivial

    I've wired up a static jetty context and hooked in a simple HTML page that shows off a bunch of the different types of queries people can do w/ the Example data. Browse to it at http://localhost:8983/example/queries.html
    Will commit shortly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Grant Ingersoll (JIRA) at Mar 29, 2010 at 10:30 pm
    [ https://issues.apache.org/jira/browse/SOLR-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851141#action_12851141 ]

    Grant Ingersoll commented on SOLR-1848:
    ---------------------------------------

    I was just trying to solve something I find to be very annoying in Solr: I just want some quick examples that are part of the actual example that I can go click on and try out w/o having to go chasing all over creation to find them (wiki, tutorial, various websites, etc.) Not too mention there is no simple "reference" for these examples, all of those things (wiki, tutorial) have a ton of verbiage around them. For instance, you have to scroll quite a long way in the tutorial to even get to a sample query. I just want a dumb little page, (ideally, it would actually be the landing page when hitting http://localhost:8983/solr when using the example) that shows me examples of interacting with Solr. I can click on the link, get results and then introspect what I just did.

    Heck, going forward, we could even distribute the example index already built so that people don't have to do the indexing until later. I often find in my training classes that I get a lot better attention when I do search first instead of indexing.

    Who knew such a simple thing was worth so much discussion.
    Add example Query page to the example
    -------------------------------------

    Key: SOLR-1848
    URL: https://issues.apache.org/jira/browse/SOLR-1848
    Project: Solr
    Issue Type: Improvement
    Reporter: Grant Ingersoll
    Priority: Trivial

    I've wired up a static jetty context and hooked in a simple HTML page that shows off a bunch of the different types of queries people can do w/ the Example data. Browse to it at http://localhost:8983/example/queries.html
    Will commit shortly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Lance Norskog (JIRA) at Mar 31, 2010 at 4:40 am
    [ https://issues.apache.org/jira/browse/SOLR-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851725#action_12851725 ]

    Lance Norskog commented on SOLR-1848:
    -------------------------------------

    Maybe there could be a Solr Apps project somewhere else with all of these cool things like the tutorial, clustering, Uri's lovely GWT browser, spatial demos, etc. A simple content management store that lets you index & save PDFs and then search & display them.

    For one thing, it would be worthwhile to cleave these away from relying on moment-by-moment changes in the core source base.

    Add example Query page to the example
    -------------------------------------

    Key: SOLR-1848
    URL: https://issues.apache.org/jira/browse/SOLR-1848
    Project: Solr
    Issue Type: Improvement
    Reporter: Grant Ingersoll
    Priority: Trivial

    I've wired up a static jetty context and hooked in a simple HTML page that shows off a bunch of the different types of queries people can do w/ the Example data. Browse to it at http://localhost:8983/example/queries.html
    Will commit shortly.
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupsolr-dev @
categorieslucene
postedMar 26, '10 at 5:26p
activeMar 31, '10 at 4:40a
posts18
users1
websitelucene.apache.org...

1 user in discussion

Lance Norskog (JIRA): 18 posts

People

Translate

site design / logo © 2019 Grokbase