[jira] Commented: (LUCENE-1607) String.intern() faster alternative

2009-04-20 Thread Earwin Burrfoot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12700696#action_12700696 ] Earwin Burrfoot commented on LUCENE-1607: - Okay, you're probably right. It's not

Spatial package plans

2009-04-20 Thread Wouter Heijke
I'm working on local search functionality and am about to use the spatial code in contrib. I managed to have a proof of concept running using LatLongDistanceFilter. The only problem I have with this filter is that it is hardcoded to use Miles! Basically my question is what are the plans for the

[jira] Commented: (LUCENE-1607) String.intern() faster alternative

2009-04-20 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12700784#action_12700784 ] Mark Miller commented on LUCENE-1607: - bq. The thread safety problem has to do with

Re: Spatial package plans

2009-04-20 Thread patrick o'leary
Yeah it's hard coded to use miles, 5 years in the US gets to you.. But the functionality doesn't change radius is double so you just need to convert km to miles for the DistanceQueryBuilder and just convert back from miles to km to display. On Mon, Apr 20, 2009 at 8:14 AM, Wouter Heijke

[jira] Commented: (LUCENE-1607) String.intern() faster alternative

2009-04-20 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12700827#action_12700827 ] Yonik Seeley commented on LUCENE-1607: -- bq. lack of collision resolve My version was

[jira] Issue Comment Edited: (LUCENE-1607) String.intern() faster alternative

2009-04-20 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12700827#action_12700827 ] Yonik Seeley edited comment on LUCENE-1607 at 4/20/09 8:55 AM:

[jira] Commented: (LUCENE-1516) Integrate IndexReader with IndexWriter

2009-04-20 Thread Jason Rutherglen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12700899#action_12700899 ] Jason Rutherglen commented on LUCENE-1516: -- We need an

[jira] Updated: (LUCENE-1607) String.intern() faster alternative

2009-04-20 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yonik Seeley updated LUCENE-1607: - Attachment: LUCENE-1607.patch Here's another version that uses closed hashing and table resizes

[jira] Updated: (LUCENE-1607) String.intern() faster alternative

2009-04-20 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yonik Seeley updated LUCENE-1607: - Attachment: LUCENE-1607.patch corrected load factor check (the previous code actually

[jira] Updated: (LUCENE-1607) String.intern() faster alternative

2009-04-20 Thread Earwin Burrfoot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Earwin Burrfoot updated LUCENE-1607: Attachment: LUCENE-1607.patch Okay, I thought more about that. Yonik is amazing. The

[jira] Commented: (LUCENE-1607) String.intern() faster alternative

2009-04-20 Thread Earwin Burrfoot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12700928#action_12700928 ] Earwin Burrfoot commented on LUCENE-1607: - Hehe, ten minute difference. Take over

[jira] Commented: (LUCENE-1607) String.intern() faster alternative

2009-04-20 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12700931#action_12700931 ] Yonik Seeley commented on LUCENE-1607: -- bq. The fastest hash we can get, should have

[jira] Commented: (LUCENE-1607) String.intern() faster alternative

2009-04-20 Thread Earwin Burrfoot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12700935#action_12700935 ] Earwin Burrfoot commented on LUCENE-1607: - bq. Collisions should also be very

[jira] Commented: (LUCENE-1607) String.intern() faster alternative

2009-04-20 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12700942#action_12700942 ] Yonik Seeley commented on LUCENE-1607: -- bq. In no-collision resolution scheme, if you

[jira] Commented: (LUCENE-1345) Allow Filter as clause to BooleanQuery

2009-04-20 Thread Jason Rutherglen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12700944#action_12700944 ] Jason Rutherglen commented on LUCENE-1345: -- Even though Paul's patch doesn't pass

[jira] Issue Comment Edited: (LUCENE-1607) String.intern() faster alternative

2009-04-20 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12700931#action_12700931 ] Yonik Seeley edited comment on LUCENE-1607 at 4/20/09 2:27 PM:

[jira] Commented: (LUCENE-1345) Allow Filter as clause to BooleanQuery

2009-04-20 Thread Paul Elschot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12700961#action_12700961 ] Paul Elschot commented on LUCENE-1345: -- The interesting thing to benchmark is

[jira] Commented: (LUCENE-1536) if a filter can support random access API, we should use it

2009-04-20 Thread Jason Rutherglen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12700984#action_12700984 ] Jason Rutherglen commented on LUCENE-1536: -- Perhaps we can go ahead with this

[jira] Issue Comment Edited: (LUCENE-1536) if a filter can support random access API, we should use it

2009-04-20 Thread Jason Rutherglen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12700984#action_12700984 ] Jason Rutherglen edited comment on LUCENE-1536 at 4/20/09 4:26 PM:

Re: [jira] Issue Comment Edited: (LUCENE-1536) if a filter can support random access API, we should use it

2009-04-20 Thread John Wang
Maybe I am not understanding the patch. But isn't casting from Filter.getDocIdSet to OpenBitSet kinda dangerous and assuming Filter constructing a Bitset something we want to move away from? -John On Mon, Apr 20, 2009 at 4:27 PM, Jason Rutherglen (JIRA) j...@apache.orgwrote: [

[jira] Updated: (LUCENE-1536) if a filter can support random access API, we should use it

2009-04-20 Thread Jason Rutherglen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Rutherglen updated LUCENE-1536: - Attachment: LUCENE-1536.patch The patch is a start at something that will work within