Trouble in using Solr on Spatial Index

2015-08-30 Thread hanyabin
we use solar for our poi search in apps,and we use spatial search for LBS; Every morning we will full import the pois to solr for index,it cotainers the field like this and when we do full indexed,a full GC occour and cost more than 30s,resulting in a timeout for zookeeper so,the cluster down

'missing content stream' issuing expungeDeletes=true

2015-08-30 Thread Derek Poh
Hi I tried doing a expungeDeletes=true with the following but get the message 'missing content stream'. What am I missing? I need to provide additional parameters? curl 'http://127.0.0.1:8983/solr/supplier/update/json?expungeDeletes=true'; Thanks, Derek -- CONFIDENTIALIT

Using join vs flattening structure

2015-08-30 Thread Brian Narsi
I have read a lot about using flattened structures in solr (instead of relational). Looks like it is preferable to use flattened structure. But in our case we have to consider using (sort of) relational structure to keep index maintenance cost low. Does anyone have deeper insight into this? 1) W

Re: Using solr with cassandra

2015-08-30 Thread Christopher Bradford
We are using SolrJ. Check out this sample code: https://gist.github.com/bradfordcp/7661a2d31403325c036b On Sun, Aug 30, 2015 at 11:13 AM Doug Turnbull < dturnb...@opensourceconnections.com> wrote: > Pretty sure he was using HTTP, as Solr doesn't have another way to connect > to it. Be curious wha

Re: commit of xml update by AJAX

2015-08-30 Thread Szűcs Roland
Hi Upayavira, You were rigtht. I had to only replace the Content-type to appliacation/xml and it worked correctly. Roland 2015-08-30 11:22 GMT+02:00 Upayavira : > > > On Sat, Aug 29, 2015, at 05:30 PM, Szűcs Roland wrote: > > Hello SOLR experts, > > > > I am new to solr as you will see from my

Re: commit of xml update by AJAX

2015-08-30 Thread Szűcs Roland
Thanks Erick, Your blog post made it clear. It was looong, but not too long. Roland 2015-08-29 19:00 GMT+02:00 Erick Erickson : > 1> My first guess is that your autocommit > section in solrconfig.xml has false > So the commitWithin happened but a new searcher > was not opened thus the document

Re: Using solr with cassandra

2015-08-30 Thread Doug Turnbull
Pretty sure he was using HTTP, as Solr doesn't have another way to connect to it. Be curious what about HTTP caused botttlenecks, SolrJ has a number of strategies including using the load balancing SolrServer which forwards each document to the shards leader that might be useful to you. -Doug On

Re: Using solr with cassandra

2015-08-30 Thread Doug Turnbull
Hi my colleague Chris Bradford had a similar issue and ended up using Spatk as a Cassandra to Solr pipeline. He summarized the work in his talk: https://m.youtube.com/watch?v=t4ONAI6YkPI&list=PL-x35fyliRwjSJ3D50uXcvJc_lFOTkfLS&index=1 On Sunday, August 30, 2015, bipin wrote: > Hi Upayavira, Dat

Re: Using solr with cassandra

2015-08-30 Thread Upayavira
On Sun, Aug 30, 2015, at 10:43 AM, bipin wrote: > Hi all, > > How can I integrate Solr with Cassandra. I am using Cassandra as my > primary > database. I have seen solandra but the project is dead. What are the ways > available now. i think you have two choices - use the DataStax product, or wr

Re: commit of xml update by AJAX

2015-08-30 Thread Upayavira
On Sat, Aug 29, 2015, at 05:30 PM, Szűcs Roland wrote: > Hello SOLR experts, > > I am new to solr as you will see from my problem. I just try to > understand > how solr works. I use one core (BandW) on my locla machine and I use > javascript for my learning purpose. > > I have a test schema.xml

Re: Dynamic field rule plugin?

2015-08-30 Thread Upayavira
On Fri, Aug 28, 2015, at 11:09 PM, Hari Iyer wrote: > Hi, > > I am new to Solr and am trying to create dynamic field rules in my > Schema. > > I would like to use file name suffix to indicate other properties besides > the data type and multivalued as provided in the default schema. > > It app