Re: Running Solr-Server inside other process
Thanks Erick, Yes, this seems to be what I want. Is there a good example of how to use it? Thanks SG On Thu, Aug 24, 2017 at 5:02 PM, Erick Erickson wrote: > Solr has the EmbeddedSolrServer is that what you're looking for? > > Best, > Erick > > On Thu, Aug 24, 2017 at 11:15 AM, S G wrote: > > Hi, > > > > We are looking to run Solr in-memory for testing and examples. > > > > For example: > > 1) Cassandra has cassandra-unit: > > https://github.com/jsevellec/cassandra-unit/wiki/How-to- > use-it-in-your-code > > > > 2) Storm has local-mode: > > http://storm.apache.org/releases/current/Local-mode.html > > > > Is there something similar for Solr too? > > > > Thanks > > SG >
Re: Running Solr-Server inside other process
Take a look at the usages in Solr tests, and the class's constructor, it's pretty straightforward. It extends SolrClient so once you create one you can use it as you would connecting to a remote Solr server. Note that the core you specify for some of the c'tors is the _default_, you can use EmbeddedSolrServer with multiple cores. Best, Erick On Sun, Aug 27, 2017 at 8:22 AM, S G wrote: > Thanks Erick, > > Yes, this seems to be what I want. > Is there a good example of how to use it? > > Thanks > SG > > > On Thu, Aug 24, 2017 at 5:02 PM, Erick Erickson > wrote: > >> Solr has the EmbeddedSolrServer is that what you're looking for? >> >> Best, >> Erick >> >> On Thu, Aug 24, 2017 at 11:15 AM, S G wrote: >> > Hi, >> > >> > We are looking to run Solr in-memory for testing and examples. >> > >> > For example: >> > 1) Cassandra has cassandra-unit: >> > https://github.com/jsevellec/cassandra-unit/wiki/How-to- >> use-it-in-your-code >> > >> > 2) Storm has local-mode: >> > http://storm.apache.org/releases/current/Local-mode.html >> > >> > Is there something similar for Solr too? >> > >> > Thanks >> > SG >>
Indexed=false for a field,but still able to search on field.
Hi, I created a field as,expecting I won't be able to search on it . But i am able to search on it.Sample query below fileName:"ipgb20080916_1078.xml" What is wrong here.I am not doing any copy of this field Solrversion:6.5.1 -- View this message in context: http://lucene.472066.n3.nabble.com/Indexed-false-for-a-field-but-still-able-to-search-on-field-tp4352338.html Sent from the Solr - User mailing list archive at Nabble.com.