Maven 4.1-SNAPSHOTS not up-to-date

2012-12-11 Thread Neil Ireson
Hi all, I was wanting to use the 4.1 version to access some of the latest improvements, I was hoping to just connect to the maven snapshot repository but it seems that they are not being updated as they are from October 24/25. Is this a deliberate policy or a "bug", and any chance of a fi

RE: Maven 4.1-SNAPSHOTS not up-to-date

2012-12-11 Thread Neil Ireson
Despite the poo-pooing of Maven I would be keen for the nightly builds to be release to the apache repository. This will have the advantage that those lazy Maven users who cannot be bothered to do their own repository maintenance (shame on me) will quickly be able to test the latest code and rep

Explicit setting of NIOFSDirectory not respected

2012-12-12 Thread Neil Ireson
Hi all, I run my code on a cluster where I have to preset resource limits and therefore the processes have limited virtual memory causing OOME when using MMapDirectory on large indexes. This means I explicitly use NIOFSDirectory (i.e. Directory indexDirectory = NIOFSDirectory.open(indexFile);)

RE: Explicit setting of NIOFSDirectory not respected

2012-12-12 Thread Neil Ireson
Thanks for that, I had not realised that the open method was simply inherited from the FSDirectory, I should have read the docs. However, it makes no sense to me that a call to NIOFSDirectory.open() can end up opening a MMapDirectory, and in general that a call to one subclass can end up openin

Re: Explicit setting of NIOFSDirectory not respected

2012-12-12 Thread Neil Ireson
Hi Uwe, Unfortunately my IDE (Intellij) does not warn me about calling a static method on a different class name, a nice idea I shall request the feature. Anyway, my suggestion to avoid the confusion still holds; that the FSDirectory open method is overridden in the subclasses, thus "NIOFSDire

Using GeohashPrefixTree for map clustering

2012-12-13 Thread Neil Ireson
Hi, I would like to be able to display up to multiple millions of lat/lng points on a map, to make this possible my intention is to plot less than 1000 clusters of points by dividing the world into a grid tree and I'm looking into using GeohashPrefixTree to do this. I am imagining that I

Re: Using GeohashPrefixTree for map clustering

2012-12-14 Thread Neil Ireson
Wow, that's exactly what I'm talking about, and a very cool demonstration. Unfortunately the mapping in my system is part of a faceted browsing over the Solr/Lucene data set and so I cannot see your propriety web-based system working for me, as I would need to connect to my indexes. However via yo

Re: Using GeohashPrefixTree for map clustering

2012-12-14 Thread Neil Ireson
I've also just found http://stackoverflow.com/questions/11319465/geoclusters-in-solr where David Smiley suggests using one field to store the levels (with a prefix) rather than different fields. N -- View this message in context: http://lucene.472066.n3.nabble.com/Using-GeohashPrefixTree-for-m

Re: Using GeohashPrefixTree for map clustering

2012-12-18 Thread Neil Ireson
Another stumbling block... I want to be able to return those lat,lng values within the current map viewport/window. This relates to http://wiki.apache.org/solr/SolrAdaptersForLuceneSpatial4#Sorting_and_Relevancy, here it states "A common spatial requirement is to sort the search results by distanc

Indexed numeric fields return indexed() == false

2013-04-26 Thread Neil Ireson
Hi all, I am copying documents from a source index to another (and adding more fields), all the fields are indexed and stored. I'm basically doing... for (int docNum = 0; docNum < maxDoc; docNum++) { Document doc = indexReader.document(docNum); doc.add(new Field1...); doc.add(new Field

Re: Indexed numeric fields return indexed() == false

2013-04-26 Thread Neil Ireson
Thanks for the reply. I don't understand why I cannot "read an existing document,... and add it to an existing or new index". I understand this wouldn't work for fields which are not stored, I also understand that I am responsible for making sure the tokenizers and analyzers are the same,

RE: Indexed numeric fields return indexed() == false

2013-04-26 Thread Neil Ireson
Hi Uwe, Thank you for the clarification, knowing that I will have to shuffle my code accordingly. N -- View this message in context: http://lucene.472066.n3.nabble.com/Indexed-numeric-fields-return-indexed-false-tp4059139p4059408.html Sent from the Lucene - Java Users mailing list archive at