Re: possible bug on Spellchecker

2013-02-20 Thread Jack Krupansky
Any reason that you are not using the DirectSpellChecker? See: http://lucene.apache.org/core/4_0_0/suggest/org/apache/lucene/search/spell/DirectSpellChecker.html -- Jack Krupansky -Original Message- From: Samuel García Martínez Sent: Wednesday, February 20, 2013 3:34 PM To: java-user@

To get Term Offsets of a term per document

2013-02-20 Thread vempap
Hello, Is there a way to get Term Offsets of a given term per document without enabling the termVectors ? Is it that Lucene index stores the positions but not the offsets by default - is it correct ? Thanks, Phani. -- View this message in context: http://lucene.472066.n3.nabble.com/To-get-

possible bug on Spellchecker

2013-02-20 Thread Samuel García Martínez
Hi all, Debugging Solr spellchecker (IndexBasedSpellchecker, delegating on lucene Spellchecker) behaviour i think i found a bug when the input is a 6 letter word: - george - anthem - argued - fluent Due to the getMin() and getMax() the grams indexed for these terms are 3 and 4. So, the fi

Min/max support in Lucene

2013-02-20 Thread Vitaly Funstein
I know that general questions about aggregate functions have been asked here before a number of times, but I would like to figure out how to solve at least one specific subset of this issue. Namely, given a specific indexed field, how do I efficiently get the min/max value of the field in the index

Lucene 4.0: Use of filter queries and filter caches in MoreLikeThis -- how do you set up the query for the MoreLikeThisHandler?

2013-02-20 Thread Misty Nodine
I am trying to do a filtered MoreLikeThis query. For example, say I want to do a MoreLikeThis query only on books written in 1998. My understanding is that in order to do this, I need to use the MoreLikeThisHandler. How do you fold together the query part and the more like this part such that t

Re: Grouping without block indexing

2013-02-20 Thread Michael McCandless
Just use the 2-pass grouping if you can't index your groups as a block of docs. See http://lucene.apache.org/core/4_1_0/grouping/org/apache/lucene/search/grouping/package-summary.html for examples... Mike McCandless http://blog.mikemccandless.com On Wed, Feb 20, 2013 at 2:23 AM, Ramprakash Ram

Re: More questions on BlockJoinQuery

2013-02-20 Thread Steve Rowe
Hi Chris, Sorry, the problem is that the IntelliJ and Maven support files are not included in Lucene source distributions. Also, both the IntelliJ and Maven configurations assume you have Solr sources in addition to Lucene sources. The Solr 4.1 source distribution *does* contain these files, i

RE: More questions on BlockJoinQuery

2013-02-20 Thread Uwe Schindler
The Lucene src.tgz does not contain the top-level and dev-tools folders. Those are only in SVN. - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Chris Bamford [mailto:chris.bamf...@talktalk.net] > Sent:

Re: More questions on BlockJoinQuery

2013-02-20 Thread Chris Bamford
Thanks Steve, sounds very useful. These are my steps: tar xzvf ~/Downloads/lucene-4.1.0-src.tgz cd lucene-4.1.0 ant ant idea This last step fails with: Buildfile: /Users/cbamford/projects/lucene-4.1.0/build.xml BUILD FAILED Target "idea" does not exist in the project "lucene". Tot

Re: More questions on BlockJoinQuery

2013-02-20 Thread Steve Rowe
Hi Chris, This mailing list is fine for discussing IntelliJ and Maven issues as they relate to Lucene. You'll need Ant v1.8.2+ to bootstrap things. 'ant idea' at the top level will produce an IntelliJ project you can open - see for mo

Re: More questions on BlockJoinQuery

2013-02-20 Thread Chris Bamford
Thanks Mike. I have downloaded the source tarball for 4.1.0 and have tried to get it working, but am having a few problems getting it to fit with my environment (intelliJ / Maven). Where is the best forum to discuss such issues? Chris -Original Message- From: Michael McCandless

Re: pruning & Lucene 4.0

2013-02-20 Thread Zeynep P.
Hi, any news since? Thanks, Best regards, ZP -- View this message in context: http://lucene.472066.n3.nabble.com/pruning-Lucene-4-0-tp4013363p4041499.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --

Not getting matches for analyzers using CharMappingFilter with Lucene 4.1

2013-02-20 Thread Paul Taylor
Just updating codebase from Lucene 3.6 to Lucene 4.1 and seems my tests that use NormalizeCharMap for replacing characters in the anyalzers are not working. Below Ive created a self-contained test case, this is the output when I run it --term=and-- --term=gold-- --term=platinum-