[ANNOUNCE] Apache Solr 8.5.0 released

2020-03-24 Thread Alan Woodward
## 24 March 2020, Apache Solr™ 8.5.0 available The Lucene PMC is pleased to announce the release of Apache Solr 8.5.0. Solr is the popular, blazing fast, open source NoSQL search platform from the Apache Lucene project. Its major features include powerful full-text search, hit highlighting,

[ANNOUNCE] Apache Solr 7.3.0 released

2018-04-04 Thread Alan Woodward
4th April 2018, Apache Solr™ 7.3.0 available The Lucene PMC is pleased to announce the release of Apache Solr 7.3.0 Solr is the popular, blazing fast, open source NoSQL search platform from the Apache Lucene project. Its major features include powerful full-text search, hit highlighting, faceted

Re: Moving to Point, trouble with IntPoint.newRangeQuery()

2017-09-26 Thread Alan Woodward
The Points queries use a completely different data structure to the previous range queries, so you can’t just use them interchangeably, you have to reindex your data. I’m guessing your ‘d1’ field here is a TrieIntField or similar? Alan Woodward www.flax.co.uk > On 26 Sep 2017, at 12

Re: org.apache.lucene.index.CheckIndex throws Illegal initial capacity: -16777216

2017-06-17 Thread Alan Woodward
Solr/Lucene 6 can’t read 4.6 index files, only 5.x ones. So you’ll need to upgrade from 4.6 to 5.x using the upgrade tool from the latest 5.x release, then from 5.x to 6 using the current upgrade tool. Alan Woodward www.flax.co.uk > On 17 Jun 2017, at 10:08, Moritz Michael <mor

Re: Announcing Marple, a RESTful API & GUI for inspecting Lucene indexes

2017-02-27 Thread Alan Woodward
At the moment it only works with indexes accessible via the filesystem (ie via java.nio.Paths.get()). But pull requests are always welcome :) Alan Woodward www.flax.co.uk > On 27 Feb 2017, at 14:56, Joe Obernberger <joseph.obernber...@gmail.com> > wrote: > > Hi Charli

Re: Query.extractTerms dissapeared from 5.1.0 to 5.2.0

2017-02-01 Thread Alan Woodward
Hi, extractTerms() is now on Weight rather than on Query. Alan > On 1 Feb 2017, at 17:43, Max Bridgewater wrote: > > Hi, > > It seems Query.extractTerms() disapeared from 5.1.0 ( > http://lucene.apache.org/core/5_1_0/core/org/apache/lucene/search/Query.html) > to

Re: Trouble boosting a field

2017-01-16 Thread Alan Woodward
Just accessible from your browser, so if you have a machine that’s inside your firewall but can see the outside world then it will work. Alan Woodward www.flax.co.uk > On 16 Jan 2017, at 09:47, Tom Chiverton <t...@extravision.com> wrote: > > Ohh, that's handy ! But it needs Sol

Re: Trouble boosting a field

2017-01-14 Thread Alan Woodward
http://splainer.io/ <http://splainer.io/> from the gents at OpenSourceConnections is pretty good for this sort of thing, I find… Alan Woodward www.flax.co.uk > On 13 Jan 2017, at 16:35, Tom Chiverton <t...@extravision.com> wrote: > > Well, I've tried much larger values

Re: CDCR logging is Needlessly verbose, fills up the file system fast

2017-01-03 Thread Alan Woodward
It’s org.apache.solr.core.SolrCore.Request - not an actual class. Alan Woodward www.flax.co.uk > On 3 Jan 2017, at 16:08, Webster Homer <webster.ho...@sial.com> wrote: > > I am working on changing the log rotation, but looking at the message: > > 2016-12-21 23:24:41.653 I

Re: problem executing a query using lucene directly

2016-12-22 Thread Alan Woodward
Solr wraps its IndexReader in an UninvertingReader, which builds doc-values structures in memory if required. If you include the solr jar file on your classpath, you should be able to use UninvertingReader.wrap() to do something similar. Alan Woodward www.flax.co.uk > On 22 Dec 2016, at

Re: problem executing a query using lucene directly

2016-12-22 Thread Alan Woodward
Hi, FieldValueQuery reports matches using docvalues, and it looks like they’re not enabled on that field. Alan Woodward www.flax.co.uk > On 22 Dec 2016, at 16:21, Roxana Danger <roxana.dan...@reedonline.co.uk> > wrote: > > Hi all, > > I have created an index

Re: bash to get doc count

2016-10-05 Thread Alan Woodward
tr -d ‘0-9’ is removing all numbers from the line, which I’m guessing is the opposite of what you want? Alan Woodward www.flax.co.uk > On 5 Oct 2016, at 20:17, KRIS MUSSHORN <mussho...@comcast.net> wrote: > > Will someone please tell me why this stores the text &q

Re: EmbeddedSolrServer and Core dataDir in Solr 6.x

2016-10-03 Thread Alan Woodward
Ah, I see what you mean. Putting the dataDir property into the Map certainly ought to work - can you write a test case that shows what’s happening? Alan Woodward www.flax.co.uk > On 3 Oct 2016, at 23:50, Bryan Bende <bbe...@gmail.com> wrote: > > Alan, > > Thank

Re: EmbeddedSolrServer and Core dataDir in Solr 6.x

2016-10-03 Thread Alan Woodward
This should work: SolrCore solrCore = coreContainer.create(coreName, Paths.get(coreHome).resolve(coreName), Collections.emptyMap()); Alan Woodward www.flax.co.uk > On 3 Oct 2016, at 18:41, Bryan Bende <bbe...@gmail.com> wrote: > > Curious if anyone know

Re: Wrong highlighting in stripped HTML field

2016-09-08 Thread Alan Woodward
Hi, see https://issues.apache.org/jira/browse/SOLR-4686 <https://issues.apache.org/jira/browse/SOLR-4686> - this is an ongoing point of contention! Alan Woodward www.flax.co.uk > On 8 Sep 2016, at 09:38, Duck Geraint (ext) GBJH <geraint.d...@syngenta.com> > wrote: > &

Re: Feedback on Match Query Parser (for fixing multiterm synonyms and other things)

2016-09-02 Thread Alan Woodward
This looks very useful! It would be nice if you could also query multiple fields at the same time, to give more edismax-like functionality. In fact, you could probably extend this slightly to almost entirely replace edismax, by allowing multiple fields and multiple analysis paths. Alan

Re: SolrCloud: A previous ephemeral live node still exists

2016-08-31 Thread Alan Woodward
It looks as though all four nodes are trying to register with ZK using the same hostname and port number - possibly they're all connecting as 'localhost'? Alan Woodward www.flax.co.uk On 31 Aug 2016, at 09:34, Chris Rogers wrote: > Just pinging this again as I sent it late last night. Wo

Re: http request to MiniSolrCloudCluster

2016-05-12 Thread Alan Woodward
Are you sure that the cluster is running properly? Probably worth checking its logs to make sure Solr has started correctly? Alan Woodward www.flax.co.uk On 12 May 2016, at 12:48, Rohana Rajapakse wrote: > Wait. > With correct port, curl says : "curl: (52) Empty reply

Re: http request to MiniSolrCloudCluster

2016-05-12 Thread Alan Woodward
Hi Rohana, What error messages do you get from curl? MiniSolrCloudCluster just runs jetty, so you ought to be able to talk to it over HTTP. Alan Woodward www.flax.co.uk On 12 May 2016, at 09:36, Rohana Rajapakse wrote: > Hi, > > Is it possible to make http requests (e.g.

Re: getZkStateReader() returning NULL

2016-05-05 Thread Alan Woodward
You'll need to call this.server.connect() - the state reader is instantiated lazily. Alan Woodward www.flax.co.uk On 5 May 2016, at 01:10, Boman wrote: > I am attempting to check for existence of a collection prior to creating a > new one with that name, using

Re: Set router.field in unit tests

2016-04-29 Thread Alan Woodward
It's almost certainly worth using SolrCloudTestBase rather than AbstractDistribZkTestBase as well - normally makes the test five or six times faster. Alan Woodward www.flax.co.uk On 29 Apr 2016, at 17:11, Erick Erickson wrote: > I'm pretty sure you can just create a collection af

Re: Solr 5: not loading shards from symlinked directories

2016-02-05 Thread Alan Woodward
This is a known bug, see https://issues.apache.org/jira/browse/SOLR-8548. It will be fixed in 5.5, or in 5.4.2 if we do another bugfix release. Alan Woodward www.flax.co.uk On 5 Feb 2016, at 06:19, Norgorn wrote: > I've tried to upgrade from Solr 4.10.3 to 5.4.1. Solr shards are pla

Re: Solr Auto-Complete

2015-12-02 Thread Alan Woodward
Hi Salman, It sounds as though you want to do a normal search against a special 'suggest' field, that's been indexed with edge ngrams. Alan Woodward www.flax.co.uk On 2 Dec 2015, at 09:31, Salman Ansari wrote: > Hi, > > I am looking for auto-complete in Solr but on top of just auto

UpdateLogs in HDFS

2015-12-02 Thread Alan Woodward
ng in HDFS, and there's nothing anywhere about storing the update logs separately from the indexes. Is this a relic of past behaviour, or is it something that a) should be preserved by the refactoring I'm doing, and b) documented and tested? Alan Woodward www.flax.co.uk

Re: CloudSolrClient Connect To Zookeeper with ACL Protected files

2015-11-18 Thread Alan Woodward
At the moment it seems that it's only settable via System properties - see https://cwiki.apache.org/confluence/display/solr/ZooKeeper+Access+Control. But it would be nice to do this programmatically as well, maybe worth opening a JIRA ticket? Alan Woodward www.flax.co.uk On 17 Nov 2015

Re: Queries for many terms

2015-11-03 Thread Alan Woodward
, and then iterate through the resulting Spans in a specialised Collector. Depending on how many terms you want, though, you may end up requiring a lot of memory for the search. Alan Woodward www.flax.co.uk On 2 Nov 2015, at 17:14, Upayavira wrote: > I have a scenario where I want to search for docume

Re: CloudSolrClient query /admin/info/system

2015-10-27 Thread Alan Woodward
Hi Kevin, This looks like a bug in CSC - could you raise an issue? Alan Woodward www.flax.co.uk On 26 Oct 2015, at 22:21, Kevin Risden wrote: > I am trying to use CloudSolrClient to query information about the Solr > server including version information. I found /admin/info/

Re: NPE in CloudSolrClient via AbstractFullDistribZkTestBase

2015-10-23 Thread Alan Woodward
It looks as though you're adding a null SolrInputDocument to your UpdateRequest somehow? The bit that's throwing a NPE is iterating through the documents in order to route things correctly (UpdateRequest.java:204). Alan Woodward www.flax.co.uk On 23 Oct 2015, at 13:53, Markus Jelsma wrote

Re: NPE in CloudSolrClient via AbstractFullDistribZkTestBase

2015-10-23 Thread Alan Woodward
No worries :-) Actually it would probably be worth improving the error reporting here to throw NPE when the documents are added to the UpdateRequest in the first place - do you want to open a JIRA? Alan Woodward www.flax.co.uk On 23 Oct 2015, at 17:00, Markus Jelsma wrote: > Ah crap, ind

Re: NPE in CloudSolrClient via AbstractFullDistribZkTestBase

2015-10-23 Thread Alan Woodward
The NPE is from another server (hence being wrapped in a SolrServerException), so the original issue *should* be being logged elsewhere - are there no errors earlier on in the log? Alan Woodward www.flax.co.uk On 23 Oct 2015, at 12:44, Markus Jelsma wrote: > Hi - anyone here to shed s

Re: PayloadTermQuery deprecated

2015-10-20 Thread Alan Woodward
I've added the includeSpanScore parameter back in for 5.4, so you might do better to wait until that's released. Otherwise, the code looks correct to me. Alan Woodward www.flax.co.uk On 19 Oct 2015, at 21:57, William Bell wrote: > Alan, > > Does this code look equivalent? And

Re: PayloadTermQuery deprecated

2015-10-19 Thread Alan Woodward
IndexSearcher.NON_SCORING_SIMILARITY for an implementation that returns 0, you could just clone that and change SimScorer.score()) Alan Woodward www.flax.co.uk On 19 Oct 2015, at 00:39, William Bell wrote: > Here is my first stab at it. Thoughts? > > Question: > > new PayloadTermQuer

Re: PayloadTermQuery deprecated

2015-10-19 Thread Alan Woodward
I opened https://issues.apache.org/jira/browse/LUCENE-6844 Alan Woodward www.flax.co.uk On 19 Oct 2015, at 08:49, Alan Woodward wrote: > Hi Bill, > > This looks like an oversight on my part when migrating the payload scoring > queries - can you open a JIRA ticket to add 'incl

OverseerCollectionMessageHandler logging

2015-10-09 Thread Alan Woodward
change it to INFO? Alan Woodward www.flax.co.uk

Re: OverseerCollectionMessageHandler logging

2015-10-09 Thread Alan Woodward
I'll raise a Jira, thanks Shalin. Alan Woodward www.flax.co.uk On 9 Oct 2015, at 16:05, Shalin Shekhar Mangar wrote: > Yes, that should be INFO > > On Fri, Oct 9, 2015 at 8:02 PM, Alan Woodward <a...@flax.co.uk> wrote: >> Hi all, >> >> The OverseerCollectio

Re: Reverse query?

2015-10-05 Thread Alan Woodward
/), but depending on how many queries you have and how complex they are you may find that the percolator is a lot easier to set up, as it comes bundled as part of elasticsearch while luwak is just a Java library, and will require some coding to get it up and running. Alan Woodward www.flax.co.uk

Re: Reverse query?

2015-10-05 Thread Alan Woodward
so I'll have to experiment a little bit first. > > Remi > > On Mon, Oct 5, 2015 at 1:58 PM, Alan Woodward <a...@flax.co.uk> wrote: > >> Hi Remi, >> >> Your use-case is more-or-less exactly what I wrote luwak for: >> https://github.com/flaxsearch/lu

Re: Ability to load solrcore.properties from zookeeper

2015-05-29 Thread Alan Woodward
can't refer to a property defined in solrcore.properties within your core.properties file. I'll open a JIRA if Steve hasn't already done so Alan Woodward www.flax.co.uk On 28 May 2015, at 17:57, Chris Hostetter wrote: : certainly didn't intend to write it like this!). The problem here

Re: Ability to load solrcore.properties from zookeeper

2015-05-28 Thread Alan Woodward
could have properties specified on the collection config overriding properties from the configset, and then local core-specific properties overriding both. Do you want to open a JIRA bug, Steve? Alan Woodward www.flax.co.uk On 28 May 2015, at 00:58, Chris Hostetter wrote: : I am attempting

Re: Native library of plugin is loaded for every core

2015-05-27 Thread Alan Woodward
Does it work if you load it via the solr home /lib directory, rather than from the /lib directory of each individual core? Alan Woodward www.flax.co.uk On 27 May 2015, at 08:45, adfel70 wrote: Hi guys, need your help: I added a custom plugins to Solr, to support my applicative needs (one

Re: Solr 4.x to Solr 5 = org.noggit.JSONParser$ParseException

2015-02-23 Thread Alan Woodward
I think this means you've got an older version of noggit around. You need version 0.6. Alan Woodward www.flax.co.uk On 23 Feb 2015, at 13:00, Clemens Wyss DEV wrote: Just about to upgrade to Solr5. My UnitTests fail: 13:50:41.178 [main] ERROR org.apache.solr.core.CoreContainer - Error

Re: Errors using the Embedded Solar Server

2015-01-21 Thread Alan Woodward
Ah, OK, you need to include a logging jar in your classpath - the log4j and slf4j-log4j jars in the solr distribution will help here. Once you've got some logging set up, then you should be able to work out what's going wrong! Alan Woodward www.flax.co.uk On 21 Jan 2015, at 16:53, Carl

Re: Errors using the Embedded Solar Server

2015-01-21 Thread Alan Woodward
That certainly looks like it ought to work. Is there log output that you could show us as well? Alan Woodward www.flax.co.uk On 21 Jan 2015, at 16:09, Carl Roberts wrote: Hi, I have downloaded the code and documentation for Solr version 4.10.3. I am trying to follow SolrJ Wiki guide

Re: Errors using the Embedded Solar Server

2015-01-21 Thread Alan Woodward
Aha, I think you're being stung by https://issues.apache.org/jira/browse/SOLR-6643. Which will be fixed in the upcoming 5.0 release, or you can patch your system with the patch attached to that issue. Alan Woodward www.flax.co.uk On 21 Jan 2015, at 19:44, Carl Roberts wrote: Already did

Re: leader split-brain at least once a day - need help

2015-01-07 Thread Alan Woodward
I had a similar issue, which was caused by https://issues.apache.org/jira/browse/SOLR-6763. Are you getting long GC pauses or similar before the leader mismatches occur? Alan Woodward www.flax.co.uk On 7 Jan 2015, at 10:01, Thomas Lamy wrote: Hi there, we are running a 3 server cloud

Re: Solrcloud and remote Zookeeper ensemble

2014-11-19 Thread Alan Woodward
it, but that's how ZK works... Alan Woodward www.flax.co.uk On 19 Nov 2014, at 12:54, Robert Kent wrote: Hi, I'm experiencing some odd behaviour with Solrcloud and Zookeeper. I am running Solrcloud on one host and am running three Zookeepers on another three hosts. The Zookeeper part

Re: indexing errors when storeOffsetsWithPositions=true in solr 4.9.1

2014-11-05 Thread Alan Woodward
Hi Min, Do you have the specific bit of text that caused this exception to be thrown? Alan Woodward www.flax.co.uk On 4 Nov 2014, at 23:15, Min L wrote: Hi All: I am using solr 4.9.1. and trying to use PostingsSolrHighlighter. But I got errors during indexing. I thought LUCENE-5111 has

Re: Need to reindex when changing schema.xml?

2014-10-14 Thread Alan Woodward
there's any definitive reference on what requires a re-index, but that would be a nice thing to add to the Reference Guide Alan Woodward www.flax.co.uk On 14 Oct 2014, at 08:30, Roger Sindreu wrote: Hello I hope this question has not been asked many times. I did some research but I never could

Re: Filter cache pollution during sharded edismax queries

2014-09-30 Thread Alan Woodward
though: SimpleFacets.getListedTermCounts() -- SolrIndexSearcher.numDocs() -- SolrIndexSearcher.getPositiveDocSet() and this last method caches results in the filter cache. Maybe these should be using a separate cache? Alan Woodward www.flax.co.uk On 30 Sep 2014, at 11:38

Re: Filter cache pollution during sharded edismax queries

2014-09-30 Thread Alan Woodward
Once all the facets have been gathered, the co-ordinating node then asks the subnodes for an exact count for the final top-N facets, What's the point to refine these counts? I've thought that it make sense only for facet.limit ed requests. Is it correct statement? can those who suffer

Re: Solr Replication Issue : Incorrect Base_URL

2014-06-13 Thread Alan Woodward
Hi Pramod, You need to set hostContext in your solr.xml. See https://cwiki.apache.org/confluence/display/solr/Format+of+solr.xml Alan Woodward www.flax.co.uk On 13 Jun 2014, at 00:44, pramodEbay wrote: Hi, I am deploying Solr in a larger web application. The standalone solr instance

Re: Percolator feature

2014-05-29 Thread Alan Woodward
Hi, There's https://github.com/flaxsearch/luwak, which isn't integrated into Solr yet, but could be added as a SearchComponent with a bit of work. It's running off a lucene fork at the moment, but I cut a 4.8 branch at Berlin Buzzwords which I will push to github later today. Alan Woodward

Re: Contribute QParserPlugin

2014-05-28 Thread Alan Woodward
Hi Pawel, The easiest thing to do is to open a JIRA ticket on the Solr project, here: https://issues.apache.org/jira/browse/SOLR, and attach your patch. Alan Woodward www.flax.co.uk On 28 May 2014, at 16:50, Pawel Rog wrote: Hi, I need QParserPlugin that will use Redis as a backend

Re: Search for a mask that matches the requested string

2014-04-26 Thread Alan Woodward
that. Feel free to ping me directly! Alan Woodward www.flax.co.uk On 26 Apr 2014, at 03:29, Otis Gospodnetic wrote: Luwak is not based on the fork of Lucene or rather, the fork you are seeing is there only because the Luwak authors needed highlighting. If you don't need highlighting you can

Re: DIH issues with 4.7.1

2014-04-25 Thread Alan Woodward
Hi Jonathan, It's a known bug: https://issues.apache.org/jira/browse/SOLR-5954. It'll be fixed in 4.8, which is being voted on now. Alan Woodward www.flax.co.uk On 25 Apr 2014, at 18:56, Hutchins, Jonathan wrote: I recently upgraded from 4.6.1 to 4.7.1 and have found that the DIH process

Re: Using ExternalFileField on SolrCloud

2014-04-22 Thread Alan Woodward
to do it, though, and that works well. Alan Woodward www.flax.co.uk On 22 Apr 2014, at 05:57, Varun Gupta wrote: Hi, I am trying to use ExternalFileField on Solr 4.6 running on SolrCloud for the purpose of changing the document score based on a frequently changed field. According

Re: Context-aware suggesters in Solr

2014-03-30 Thread Alan Woodward
to make Analyzing/FuzzySuggester to be context-aware (LUCENE-5350; patch might be outdated), but its still not in trunk (see jira discussion). Hope that helps, Areek On Fri, Mar 28, 2014 at 3:47 AM, Alan Woodward a...@flax.co.uk wrote: Hi all, I have a few of questions about

Context-aware suggesters in Solr

2014-03-28 Thread Alan Woodward
? - is the context-aware functionality exposed to Solr yet? - how difficult would it be to add similar functionality to the other suggesters, if say I only wanted to do prefix matching? Thanks, Alan Woodward www.flax.co.uk

Re: Set up embedded Solr container and cores programmatically to read their configs from the classpath

2014-02-12 Thread Alan Woodward
loader in a ClasspathResourceLoader). You could try applying that patch to your setup and see if that helps you out. Alan Woodward www.flax.co.uk On 11 Feb 2014, at 10:41, Robert Krüger wrote: Hi, I have an application with an embedded Solr instance (and I want to keep it embedded) and so

Re: How to Learn Linked Configuration for SolrCloud at Zookeeper

2014-02-11 Thread Alan Woodward
For a particular collection or core? There should be a collection.configName property specified for the core or collection which tells you which ZK config directory is being used. Alan Woodward www.flax.co.uk On 11 Feb 2014, at 11:49, Furkan KAMACI wrote: Hi; I've written a code that I

Re: Implementing an alerting feature

2014-01-27 Thread Alan Woodward
There's some documentation in the README on github, and the code itself has full javadoc (it's a pretty simple library to use). You can also watch a presentation Charlie and I did in Dublin describing how luwak works and what we've used it for: http://www.youtube.com/watch?v=rmRCsrJp2A8 Alan

Re: Loading resources from Zookeeper

2014-01-24 Thread Alan Woodward
Hi Ugo, You can load things from the conf/ directory via SolrResourceLoader, which will load either from the filesystem or from zookeeper, depending on whether or not you're running in SolrCloud mode. Alan Woodward www.flax.co.uk On 24 Jan 2014, at 16:02, Ugo Matrangolo wrote: Hi, I'm

Re: core.properties and solr.xml

2014-01-15 Thread Alan Woodward
I think solr.xml is the correct place for it, and you can then set up substitution variables to allow it to be set by environment variables, etc. But let's discuss on the JIRA ticket. Alan Woodward www.flax.co.uk On 15 Jan 2014, at 15:39, Steven Bower wrote: I will open up a JIRA... I'm

Re: core.properties and solr.xml

2014-01-15 Thread Alan Woodward
have already come up from time to time on the list. It seems a shame to *not* allow this to be opened up for advanced users. Alan Woodward www.flax.co.uk On 15 Jan 2014, at 16:24, Mark Miller wrote: I think these API’s are pretty new and deep to want to support them for users at this point

Re: core.properties and solr.xml

2014-01-14 Thread Alan Woodward
loading and new core creation is all done through the CL now, so as long as the plugin implemented all methods, it shouldn't break the Collections API either. Do you want to open a JIRA? Alan Woodward www.flax.co.uk On 14 Jan 2014, at 19:20, Erick Erickson wrote: The work done as part of new style

Apache Curator integration

2013-12-14 Thread Alan Woodward
the Overseer and OverseerCollectionProcessor a lot simpler. Alan Woodward www.flax.co.uk

Re: Apache Curator integration

2013-12-14 Thread Alan Woodward
, but that’s the type of thing I think we should look at a JIRA issue at a time. Unfortunately I think it'd be all-or-nothing, because we'd have to replace SolrZkClient with CuratorFramework whenever we wanted to use a recipe. - Mark On Dec 14, 2013, at 2:15 PM, Alan Woodward a...@flax.co.uk

Re: starting up solr automatically

2013-12-05 Thread Alan Woodward
Hi Greg, It looks as though your script below will bootstrap a collection configuration every time Solr is restarted, which probably isn't what you want to do? You only need to upload the config once. Alan Woodward www.flax.co.uk On 4 Dec 2013, at 21:26, Greg Walters wrote: I almost

Re: SolrCoreAware

2013-11-15 Thread Alan Woodward
Hi Steven, It's called when the handler is created, either at SolrCore construction time (solr startup or core reload) or the first time the handler is requested if it's a lazy-loading handler. Alan Woodward www.flax.co.uk On 15 Nov 2013, at 15:40, Steven Bower wrote: Under what

Re: core swap duplicates core entries in solr.xml

2013-11-09 Thread Alan Woodward
Hi Jeremy, Could you open a JIRA ticket for this? Thanks, Alan Woodward www.flax.co.uk On 8 Nov 2013, at 21:16, Branham, Jeremy [HR] wrote: When performing a core swap in SOLR 4.5.1 with persistence on, the two core entries that were swapped are duplicated. Solr.xml ?xml version

Re: Simple (?) zookeeper question

2013-11-01 Thread Alan Woodward
Unknown document router errors are usually caused by using different solr and solrj versions - which version of solr and solrj are you using? Alan Woodward www.flax.co.uk On 1 Nov 2013, at 04:19, Jack Park wrote: After digging deeper (slow for a *nix newbee), I uncovered issues

Re: EmbeddedSolrServer Solr 4.4.0 bug?

2013-07-31 Thread Alan Woodward
... Alan Woodward www.flax.co.uk On 31 Jul 2013, at 08:53, Luis Cappa Banda wrote: Hello guys, Since I upgrade from 4.1.0 to 4.4.0 version I've noticed that EmbeddedSolrServer has changed a little the way of construction: *Solr 4.1.0 style:* CoreContainer coreContainer = new CoreContainer

Re: Facet at zappos.com

2013-07-26 Thread Alan Woodward
Hi, Have a look at the wiki page for multi-select faceting: http://wiki.apache.org/solr/SimpleFacetParameters#Multi-Select_Faceting_and_LocalParams. Alan Woodward www.flax.co.uk On 26 Jul 2013, at 07:23, Ifnu bima wrote: Hi, I'm currently looking at zappos solr implementation

Re: zkHost in solr.xml goes missing after SPLITSHARD using Collections API

2013-07-23 Thread Alan Woodward
Can you try upgrading to the just-released 4.4? Solr.xml persistence had all kinds of bugs in 4.3, which should have been fixed now. Alan Woodward www.flax.co.uk On 23 Jul 2013, at 13:36, Ali, Saqib wrote: Hello all, Every time I issue a SPLITSHARD using Collections API, the zkHost

Re: Programatic instantiation of solr container and cores with config loaded from a jar

2013-07-22 Thread Alan Woodward
a ConfigSolr object from a string representation of solr.xml using the ConfigSolr.fromString() static method. Alan Woodward www.flax.co.uk On 22 Jul 2013, at 11:41, Robert Krüger wrote: Hi, I use solr embedded in a desktop app and I want to change it to no longer require the configuration

Re: Programatic instantiation of solr container and cores with config loaded from a jar

2013-07-22 Thread Alan Woodward
). Alan Woodward www.flax.co.uk On 22 Jul 2013, at 15:53, Alexandre Rafalovitch wrote: Does it mean that I can easily load Solr configuration as parsed by Solr from an external program? Because the last time I tried (4.3.1), the number of jars required was quite long, including SolrJ jar due

Re: external file field and fl parameter

2013-07-14 Thread Alan Woodward
Hi Chris, Try wrapping the field name in a field() function in your fl parameter list, like so: fl=field(eff_field_name) Alan Woodward www.flax.co.uk On 14 Jul 2013, at 18:41, Chris Collins wrote: Why would I be re-indexing an external file field? The whole purpose is that its brought

Re: Moving replica from node to node?

2013-07-11 Thread Alan Woodward
And CREATE and UNLOAD are almost exactly the wrong descriptors, because CREATE loads up a core that's already there, and UNLOAD can in fact delete it from the filesystem… Alan Woodward www.flax.co.uk On 11 Jul 2013, at 20:15, Mark Miller wrote: Yeah, though CREATE and UNLOAD end up being

Re: Simple Moving Average of Query Durations

2013-07-04 Thread Alan Woodward
I started some work on https://issues.apache.org/jira/browse/SOLR-4735, which may help here. Have been pulled away onto other things, but I want to get back to it soon. Alan Woodward www.flax.co.uk On 3 Jul 2013, at 23:54, Otis Gospodnetic wrote: Hi Jan, http://search-lucene.com/?q

[ANN] Lucene/SOLR hackday in Cambridge, UK

2013-07-03 Thread Alan Woodward
/Enterprise-Search-Cambridge-UK/events/127351142/. Places are limited, so please book early! Looking forward to seeing you there, Alan Woodward www.flax.co.uk

Re: Core admin action CREATE fails for existing core

2013-05-23 Thread Alan Woodward
I think the wiki needs to be updated to reflect this? http://wiki.apache.org/solr/CoreAdmin If somebody adds me as an editor (AlanWoodward), I'll do it. Alan Woodward www.flax.co.uk On 23 May 2013, at 16:43, Mark Miller wrote: Yes, this did change - it's actually a protection

Re: Core admin action CREATE fails for existing core

2013-05-23 Thread Alan Woodward
Thanks! Alan Woodward www.flax.co.uk On 23 May 2013, at 17:38, Steve Rowe wrote: Alan, I've added AlanWoodward to the Solr AdminGroup page. On May 23, 2013, at 12:29 PM, Alan Woodward a...@flax.co.uk wrote: I think the wiki needs to be updated to reflect this? http://wiki.apache.org

Re: java.lang.IllegalArgumentException: No enum const class org.apache.lucene.util.Version.LUCENE_43

2013-05-08 Thread Alan Woodward
, not 4.3. So the example solrconfig.xml from 4.3 won't work here. Alan Woodward www.flax.co.uk On 8 May 2013, at 12:52, Roald wrote: Hi all, I just reported this issue: http://issues.apache.org/jira/browse/SOLR-4800 java.lang.IllegalArgumentException: No enum const class

Re: Unsubscribing from JIRA

2013-05-01 Thread Alan Woodward
Hi MJ, It looks like you're subscribed to the lucene dev list. Send an email to dev-unsubscr...@lucene.apache.org to get yourself taken off the list. Alan Woodward www.flax.co.uk On 1 May 2013, at 17:25, johnmu...@aol.com wrote: Hi, Can someone show me how to unsubscribe from JIRA

Re: Solr metrics in Codahale metrics and Graphite?

2013-04-25 Thread Alan Woodward
Hi Walter, Dmitry, I opened https://issues.apache.org/jira/browse/SOLR-4735 for this, with some work-in-progress. Have a look! Alan Woodward www.flax.co.uk On 23 Apr 2013, at 07:40, Dmitry Kan wrote: Hello Walter, Have you had a chance to get something working with graphite, codahale

Re: Solr metrics in Codahale metrics and Graphite?

2013-04-25 Thread Alan Woodward
This is on top of trunk at the moment, but would be back ported to 4.4 if there was interest. Alan Woodward www.flax.co.uk On 25 Apr 2013, at 10:32, Dmitry Kan wrote: Hi Alan, Great! What is the solr version you are patching? Speaking of graphite, we have set it up recently to monitor

Re: /admin/stats.jsp in SolrCloud

2013-04-10 Thread Alan Woodward
It's under /admin/mbeans. Alan Woodward www.flax.co.uk On 10 Apr 2013, at 20:53, Tim Vaillancourt wrote: Hey guys, This feels like a silly question already, here goes: In SolrCloud it doesn't seem obvious to me where one can grab stats regarding caches for a given core using an http

Re: Solr metrics in Codahale metrics and Graphite?

2013-04-07 Thread Alan Woodward
in solrconfig, and voila - Solr can be monitored using the same devops tools you use to monitor everything else. Does this sound sane? Alan Woodward www.flax.co.uk On 6 Apr 2013, at 20:49, Walter Underwood wrote: Wow, that really doesn't help at all, since these seem to only be reported

Re: Group By and Sum

2013-03-18 Thread Alan Woodward
you use Solr 4.2 for this, by the way, as it's massively faster - I've found stats queries over ~500,000 documents dropping from 60 seconds to 2 seconds with an upgrade from 4.0 to 4.2. Alan Woodward www.flax.co.uk On 18 Mar 2013, at 16:48, Adam Harris wrote: Hello All, Pretty stuck here

Re: Faceting on the first part or first letter of values

2013-02-27 Thread Alan Woodward
/filter on that. Alan Woodward www.flax.co.uk On 27 Feb 2013, at 07:01, Teun Duynstee wrote: What I really miss in the SimpleFaceting component is the ability to get facets not of the full term, but grouped by the first letter(s). I wrote a Jira issue on this ( https://issues.apache.org/jira/browse

Re: UnionDocsAndPositionsEnum class not found

2013-02-09 Thread Alan Woodward
, sorry :-( Maybe it should be moved to a top-level class in its own file? Alan Woodward www.flax.co.uk On 9 Feb 2013, at 15:51, Markus Jelsma wrote: Yes indeed. It makes little sense, the class is there. -Original message- From:Mark Miller markrmil...@gmail.com Sent: Sat 09-Feb

Re: Advanced Search Option in Solr corresponding to DtSearch options

2013-02-07 Thread Alan Woodward
of Lucene/Solr, because we needed to get some extra data from the index that wasn't available in trunk for our use case, but it can probably be tweaked to just use vanilla solr. Feel free to contact me for more details! Alan Woodward www.flax.co.uk On 6 Feb 2013, at 16:09, Soumyanayan Kar wrote

Re: Solr 4.0, slow opening searchers

2013-01-11 Thread Alan Woodward
it a lot quicker to restart. Alan Woodward a...@flax.co.uk On 11 Jan 2013, at 13:51, Marcel Bremer wrote: Hi, We're experiencing slow startup times of searchers in Solr when containing a large number of documents. We use Solr v4.0 with Jetty and currently have 267.657.634 documents stored

Grouping based on multiple criteria

2012-10-30 Thread Alan Woodward
Hi list, I'd like to be able to present a list of results which are grouped on a single field, but then show various members of each group according to several different criteria. So for example, for e-commerce search, we group at the top level by the vendor, but then show the most expensive

Re: Testing Solr4 - first impressions and problems

2012-10-15 Thread Alan Woodward
Hi Shawn, The transaction log is only being used to support near-real-time search at the moment, I think, so it sounds like it's surplus to requirements for your use-case. I'd just turn it off. Alan Woodward www.romseysoftware.co.uk On 15 Oct 2012, at 07:04, Shawn Heisey wrote: On 10/14

Re: Solr4 - no examples of postingsFormat in schema.xml

2012-10-15 Thread Alan Woodward
The extra codecs are supplied in a separate jar file now (lucene-codecs-4.0.0.jar) - I guess this isn't being packaged into solr.war by default? You should be able to download it here:

Re: Solr4 - no examples of postingsFormat in schema.xml

2012-10-15 Thread Alan Woodward
This should not be required, because I am building from source. I compiled Solr from lucene-solr source checked out from branch_4x. I grepped the entire tree for lucene-codec and found nothing. It turns out that running 'ant generate-maven-artifacts' created the jar file -- along

Re: Solr4 - no examples of postingsFormat in schema.xml

2012-10-15 Thread Alan Woodward
postingsFormat exception. On 15 Oct 2012, at 18:41, Alan Woodward wrote: This should not be required, because I am building from source. I compiled Solr from lucene-solr source checked out from branch_4x. I grepped the entire tree for lucene-codec and found nothing. It turns out