[jira] Commented: (LUCENE-2292) ByteBuffer Directory - allowing to store the index outside the heap

2010-03-02 Thread Shay Banon (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840394#action_12840394 ] Shay Banon commented on LUCENE-2292: By the way, an implementation note. I thought abo

[jira] Updated: (LUCENE-2292) ByteBuffer Directory - allowing to store the index outside the heap

2010-03-02 Thread Shay Banon (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shay Banon updated LUCENE-2292: --- Attachment: LUCENE-2292.patch Attached new patch, does not use sun.* package. I still cache Method s

[jira] Commented: (LUCENE-2292) ByteBuffer Directory - allowing to store the index outside the heap

2010-03-02 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840382#action_12840382 ] Uwe Schindler commented on LUCENE-2292: --- There are also other non Sun JREs on the ma

[jira] Commented: (LUCENE-2292) ByteBuffer Directory - allowing to store the index outside the heap

2010-03-02 Thread Shay Banon (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840379#action_12840379 ] Shay Banon commented on LUCENE-2292: Hi, >> looks interesting as a replacement for RA

[jira] Commented: (LUCENE-2292) ByteBuffer Directory - allowing to store the index outside the heap

2010-03-02 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840373#action_12840373 ] Uwe Schindler commented on LUCENE-2292: --- Hi, looks interesting as a replacement for

[jira] Updated: (LUCENE-2292) ByteBuffer Directory - allowing to store the index outside the heap

2010-03-02 Thread Shay Banon (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shay Banon updated LUCENE-2292: --- Attachment: LUCENE-2292.patch > ByteBuffer Directory - allowing to store the index outside the heap

[jira] Created: (LUCENE-2292) ByteBuffer Directory - allowing to store the index outside the heap

2010-03-02 Thread Shay Banon (JIRA)
ByteBuffer Directory - allowing to store the index outside the heap --- Key: LUCENE-2292 URL: https://issues.apache.org/jira/browse/LUCENE-2292 Project: Lucene - Java Issue Type

[jira] Updated: (LUCENE-2089) explore using automaton for fuzzyquery

2010-03-02 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-2089: Attachment: moman-57f5dc9dd0e7.diff attached is the patch the author provided to the moman source

[jira] Updated: (LUCENE-2089) explore using automaton for fuzzyquery

2010-03-02 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-2089: Attachment: LUCENE-2089.patch the author responded with a bugfix to moman. additionally, he made h

[jira] Commented: (LUCENE-2287) Unexpected terms are highlighted within nested SpanQuery instances

2010-03-02 Thread Michael Goddard (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840333#action_12840333 ] Michael Goddard commented on LUCENE-2287: - It seems that the discussion here on ov

Re: Baby steps towards making Lucene's scoring more flexible...

2010-03-02 Thread Marvin Humphrey
On Tue, Mar 02, 2010 at 05:55:44AM -0500, Michael McCandless wrote: > The problem is, these scoring models need the avg field length (in > tokens) across the entire index, to compute the norms. > > Ie, you can't do that on writing a single segment. I don't see why not. We can just move everything

[jira] Updated: (LUCENE-2287) Unexpected terms are highlighted within nested SpanQuery instances

2010-03-02 Thread Michael Goddard (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Goddard updated LUCENE-2287: Attachment: LUCENE-2287.patch Two tests still fail, but more of my own tests are passing.

Re: Lucene Filter

2010-03-02 Thread Erick Erickson
Taking a quick glance at the code, I don't see anything obviously wrong as far as the problem you describe goes. What happens if you just add a required clause to your query string rather than use a Filter? Something like +sentiment:positive? If you do that, query.toString is your friend ... Eric

Re: Lucene Filter

2010-03-02 Thread Dyutiman
Thanks Erick for your quick reply. I am going to try Luke and examine my index. In the mean time let me tell you that I am indexing the documents every time creating the new document. Let me attach the code I am using here. thanks Dyutiman http://old.nabble.com/file/p27756896/IndexUtil.java Index

Re: Lucene Filter

2010-03-02 Thread Erick Erickson
The very first thing I'd recommend is to get a copy of Luke (google Lucene, Luke) and examine your index to see if what you *think* is in there is *actually* in there. One popular "learning experience" is to do something like Document = new Document(); while () { add field add field add d

Lucene Filter

2010-03-02 Thread Dyutiman
Hi, I am new in this forum and new to Lucene also. I m getting some issue while trying to filter my Lucene result. While creating the index I am creating a field called sentiment and possible values are 'positive', 'negative' & 'neutral', I am indexing this field like doc.add(new Field("sentimen

Re: Baby steps towards making Lucene's scoring more flexible...

2010-03-02 Thread Michael McCandless
On Sun, Feb 28, 2010 at 1:38 PM, Marvin Humphrey wrote: > On Fri, Feb 26, 2010 at 12:50:44PM -0500, Michael McCandless wrote: > >> * Store additional per-doc stats in the index, eg in a custom >> posting list, > > Inline, as in a payload? Of course that can work, but if the data > is common