Re: Searcher behaviour in example distribution without explicit commit command?

2013-02-09 Thread Shawn Heisey
I have autoCommit with openSearcher=false. The only time autocommit comes into play is when I am rebuilding the entire index from MySQL, 12 million docs per shard. The autoCommit values within that are high enough (25000 docs and five minutes) that autoCommit will never be triggered during ty

Re: Searcher behaviour in example distribution without explicit commit command?

2013-02-09 Thread Mark Miller
Nothing will ever open a new searcher unless you explicitly send a commit with openSearcher=true. Either change openSearcher on your auto hard commit to true, or start using soft commit for visibility. - Mark On Feb 9, 2013, at 12:44 PM, Alexandre Rafalovitch wrote: > Hello, > > I am lookin

Re: Help! How to remove shards from SolrCloud. They keep come back...

2013-02-09 Thread Mark Miller
Did you clear the data dir for all 3 zk's? If not, you will find ghosts coming back to haunt you :) It's often easier to clear zk programmatically - for example it's one call from the cmd line zkcli script. http://wiki.apache.org/solr/SolrCloud#Command_Line_Util - Mark On Feb 9, 2013, at 1:19

Help! How to remove shards from SolrCloud. They keep come back...

2013-02-09 Thread Rene Nederhand
Hi, I am experimenting with SolrCloud (v. 4.1) and everything seems to work fine. Now I would like to restart with a clean environment, but I cannot get rid of all the collections, shards and cores I have created. What I did: - Closed down all Zookeeper servers (I have an ensemble of 3) and Solr

Re: UnionDocsAndPositionsEnum class not found

2013-02-09 Thread Alan Woodward
It's in a bit of a weird position, as it's not defined as an inner class, it's defined as a separate top-level class within the same file as MultiPhraseQuery. I vaguely remember this giving me problems on the positions branch a while back, but I can't remember how I got it working in the end, s

RE: UnionDocsAndPositionsEnum class not found

2013-02-09 Thread Markus Jelsma
Yes indeed. It makes little sense, the class is there. -Original message- > From:Mark Miller > Sent: Sat 09-Feb-2013 15:13 > To: solr-user@lucene.apache.org > Subject: Re: UnionDocsAndPositionsEnum class not found > > Looks odd - the supposedly missing class looks like an inner class in

RE: UnionDocsAndPositionsEnum class not found

2013-02-09 Thread Markus Jelsma
Yes, but it also happens when running locally. I've not yet been able to reproduce it without our request handler defaults. -Original message- > From:Jack Krupansky > Sent: Sat 09-Feb-2013 16:04 > To: solr-user@lucene.apache.org > Subject: Re: UnionDocsAndPositionsEnum class not found >

Re: UnionDocsAndPositionsEnum class not found

2013-02-09 Thread Jack Krupansky
Any chance that you built with one version of Java but ran with an older version? -- Jack Krupansky -Original Message- From: Markus Jelsma Sent: Saturday, February 09, 2013 6:19 AM To: solr-user@lucene.apache.org Subject: RE: UnionDocsAndPositionsEnum class not found Any ideas so far

Re: UnionDocsAndPositionsEnum class not found

2013-02-09 Thread Mark Miller
Looks odd - the supposedly missing class looks like an inner class in MultiPhraseQuery. - Mark On Feb 9, 2013, at 6:19 AM, Markus Jelsma wrote: > Any ideas so far? I've not yet found anything that remotely looks like the > root of the problem so far :) > > > -Original message- >> Fr

RE: UnionDocsAndPositionsEnum class not found

2013-02-09 Thread Markus Jelsma
Any ideas so far? I've not yet found anything that remotely looks like the root of the problem so far :) -Original message- > From:Markus Jelsma > Sent: Wed 06-Feb-2013 10:23 > To: solr-user@lucene.apache.org > Subject: UnionDocsAndPositionsEnum class not found > > Hi, > > We're gett

Re: Hourly Faceting

2013-02-09 Thread Erik Hatcher
At index time, add an hour field and then just field.facet on that. If you want to search/facet on something that you have available at index time... index it that way :) rather than trying to do the work at query time. And you could certainly do this automatically with a copyField and a custo

Re: Hourly Faceting

2013-02-09 Thread Upayavira
Do it on the client, strip off the date and add together ny values you have for the same hour. Upayavira On Sat, Feb 9, 2013, at 06:15 AM, Cool Techi wrote: > Hi, > > I want to facet results on an hourly basis, the following query gives me > an hourly breakdown, but with the date part. I want ju