Indexed=false for a field,but still able to search on field.

2017-08-27 Thread AshB
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.nabbl

Re: Running Solr-Server inside other process

2017-08-27 Thread Erick Erickson
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 Embedd

Re: Running Solr-Server inside other process

2017-08-27 Thread S G
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: >