On Wed, May 18, 2011 at 11:14 AM, Gabriele Kahlout
<gabri...@mysimpatico.com> wrote:
>
>
> On Wed, May 18, 2011 at 5:09 PM, Yonik Seeley <yo...@lucidimagination.com>
> wrote:
>>
>> On Wed, May 18, 2011 at 10:50 AM, Gabriele Kahlout
>> <gabri...@mysimpatico.com> wrote:
>> > Hello,
>> >
>> > I'm wondering if Solr Test framework at the end of the day always runs
>> > an
>> > embedded/jetty server (which is the only way to interact with solr, i.e.
>> > no
>> > web server --> no solr) or in the tests they interact without one,
>> > calling
>> > directly the under line methods?
>> >
>> > The latter seems to be the case trying to understand SolrTestCaseJ4.
>> > That
>> > would be more white-box than otherwise.
>>
>> Solr does either, depending on the test.
>>
>>  Most tests start only an
>> embedded solr server w/ no web server,
>
> What is confusing me is the solr server. Is it SolrCore? In what aspects is
> it a 'server'? In my understanding it's the core of the Solr Web application
> which makes up the servlets interface, i.e. it's under the servlets not on
> top of them.

Look at TestHarness - it instantiates a CoreContainer.
When running as a webapp in a Jetty server, a DispatchFilter is
registered that instantiates the CoreContainer.

-Yonik
http://www.lucenerevolution.org -- Lucene/Solr User Conference, May
25-26, San Francisco




>>
>> but others use an embedded
>> jetty server so one can talk HTTP to it.  JettySolrRunner is used for
>> the latter.
>>
>> -Yonik
>> http://www.lucenerevolution.org -- Lucene/Solr User Conference, May
>> 25-26, San Francisco
>
>
>
> --
> Regards,
> K. Gabriele
>
> --- unchanged since 20/9/10 ---
> P.S. If the subject contains "[LON]" or the addressee acknowledges the
> receipt within 48 hours then I don't resend the email.
> subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x)
> < Now + 48h) ⇒ ¬resend(I, this).
>
> If an email is sent by a sender that is not a trusted contact or the email
> does not contain a valid code then the email is not received. A valid code
> starts with a hyphen and ends with "X".
> ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
> L(-[a-z]+[0-9]X)).
>
>

Reply via email to