[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, fac

[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 wrote: > &

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 > wrote: > > Hi Charlie - will this work with an index store

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 5.2.0 ( > http://lucene.apache

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 wrote: > > Ohh, that's handy ! But it needs Solr/ElasticSearch

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 wrote: > > Well, I've tried much larger values than 8, and it stil

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 wrote: > > I am working on changing the log rotation, but looking at the message: > > 2016-12-21 23:24:41.653 INFO (qtp110456297-18)

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 > wrote: > > Hi all, > > I have created an index using solr. I am trying to execute the follo

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 wrote: > > Will someone please tell me why this stores the text "numDocs" instead of > return

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 wrote: > > Alan, > > Thanks for the response. I will doub

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 wrote: > > Curious if anyone knows how to create an EmbeddedSolrServer

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 > wrote: > > As far as I can tell, that is

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

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. from cU

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,

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 collect

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 p

UpdateLogs in HDFS

2015-12-02 Thread Alan Woodward
nything 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: 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 t

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 201

Re: Queries for many terms

2015-11-03 Thread Alan Woodward
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/system

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
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 Je

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 equiv

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 'inc

Re: PayloadTermQuery deprecated

2015-10-19 Thread Alan Woodward
cores (see 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 Paylo

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 wrote: >> Hi all, >> >> The OverseerCollectionMessageHandler log

OverseerCollectionMessageHandler logging

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

Re: Reverse query?

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

Re: Reverse query?

2015-10-05 Thread Alan Woodward
mentations/), 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.

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

Re: Ability to load solrcore.properties from zookeeper

2015-05-28 Thread Alan Woodward
n that you 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

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 need

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.CoreContai

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: > Alr

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 1

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 fo

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 ser

Re: Solrcloud and remote Zookeeper ensemble

2014-11-19 Thread Alan Woodward
one 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 &

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

Re: Need to reindex when changing schema.xml?

2014-10-14 Thread Alan Woodward
27;t think 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 som

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

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

Re: using facet enum et fc in the same query.

2014-09-22 Thread Alan Woodward
You should be able to use f..method=enum Alan Woodward www.flax.co.uk On 22 Sep 2014, at 16:21, jerome.dup...@bnf.fr wrote: > Hello, > > I have a solr index (12 M docs, 45Go) with facets, and I'm trying to > improve facet queries performances. > 1/ I tried to use docv

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 >

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.

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 back

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 h

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

Re: Using ExternalFileField on SolrCloud

2014-04-22 Thread Alan Woodward
use basic rsync 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 ch

Re: Context-aware suggesters in Solr

2014-03-30 Thread Alan Woodward
ity is not yet exposed to Solr. > > There were attempts made 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

Context-aware suggesters in Solr

2014-03-28 Thread Alan Woodward
s 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
ore's 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 >

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 writt

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=rm

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:

Re: core.properties and solr.xml

2014-01-15 Thread Alan Woodward
her suggestions 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 fo

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 JIR

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

Re: Apache Curator integration

2013-12-14 Thread Alan Woodward
ecific things could make sense, 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 >

Apache Curator integration

2013-12-14 Thread Alan Woodward
Overseer and OverseerCollectionProcessor a lot simpler. Alan Woodward www.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: >

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: &g

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. > &

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 with &g

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:* > > Core

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 implement

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, t

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

2013-07-22 Thread Alan Woodward
including solrj). 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 > q

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

2013-07-22 Thread Alan Woodward
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 configura

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 b

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

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-luce

[ANN] Lucene/SOLR hackday in Cambridge, UK

2013-07-03 Thread Alan Woodward
p.com/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
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 wrote: > >> I think the wiki needs to be updated to reflect this? >>

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 pro

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:

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 unsu

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

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,

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 cach

Re: Solr metrics in Codahale metrics and Graphite?

2013-04-07 Thread Alan Woodward
em 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 b

Re: Group By and Sum

2013-03-18 Thread Alan Woodward
sure 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,

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

2013-02-27 Thread Alan Woodward
d with contents [r, y, b] and facet/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 is

Re: UnionDocsAndPositionsEnum class not found

2013-02-09 Thread Alan Woodward
t working in the end, 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 &

Re: Advanced Search Option in Solr corresponding to DtSearch options

2013-02-07 Thread Alan Woodward
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

Re: Solr 4.0, slow opening searchers

2013-01-11 Thread Alan Woodward
nd make 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 cur

Re: CPU spikes on trunk

2013-01-02 Thread Alan Woodward
Hi Markus, How recent a check-out from trunk are you running? I added a bunch of statistics recording a few months back which we had to back out over Christmas because it was causing memory leaks. Alan Woodward a...@flax.co.uk On 2 Jan 2013, at 15:15, Markus Jelsma wrote: > Hi, >

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 i

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 a

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 > -- al

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: http://search.maven.org/remotecontent?filepath=org/apache/lucene/lucene-codecs/4.0.0/lucene-codecs-4.0.0-javad

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:

  1   2   >