counting spans through spanquery.

2013-03-08 Thread ash nix
Hello, Following is brief description of what I want to do. === Search for Phrase query in index. Phrases are two to four terms at max. Scoring of the documents is based on the number of occurrence of phrase in a document.

RE: TopDocCollector vs TopScoreDocCollector (semantics changed in 4.0, not backward comptabile)

2013-03-08 Thread saisantoshi
Could someone please comment on the above? Thanks, Sai -- View this message in context: http://lucene.472066.n3.nabble.com/TopDocCollector-vs-TopScoreDocCollector-semantics-changed-in-4-0-not-backward-comptabile-tp4035806p4045855.html Sent from the Lucene - Java Users mailing list archive at

DiskDocValues vs Lucene42Codec

2013-03-08 Thread David Smiley (@MITRE.org)
DiskDocValues is a codec (or part of a codec, apparenlty) for accessing the DocValues from disk, with minimal RAM usage for things like offsets. Lucene42Codec alternatively puts all of DocValues in RAM. Is the actual disk resident data format the same between them? And how do you pick choose

Re: DiskDocValues vs Lucene42Codec

2013-03-08 Thread Robert Muir
The underlying data formats are different. For example, because Lucene42Codec will load terms into RAM, it uses an FST. But DiskDV uses a more simplistic storage for the terms thats more suitable for being disk-resident. There are also different compression block sizes and so on in use. you can

Re: DiskDocValues vs Lucene42Codec

2013-03-08 Thread David Smiley (@MITRE.org)
Thanks Robert; that's very helpful. - Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book -- View this message in context: http://lucene.472066.n3.nabble.com/DiskDocValues-vs-Lucene42Codec-tp4044061p4045935.html Sent from the Lucene - Java Users mailing list

Re: Spatial indexing: IndexOutOfBounds in QuadPrefixTree

2013-03-08 Thread David Smiley (@MITRE.org)
Paul, FYI: http://lucene.472066.n3.nabble.com/InvalidShapeException-when-using-SpatialRecursivePrefixTreeFieldType-with-custom-worldBounds-tt4045351.html I suggested to file a bug report. ~ David Paul Alexandrow wrote Hi List, I've encountered this problem using Solr (4.1.0), but as far