[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2008-11-21 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649674#action_12649674 ] Grant Ingersoll commented on LUCENE-1001: - Open a new one. > Add Payload retr

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2008-11-21 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649647#action_12649647 ] Mark Miller commented on LUCENE-1001: - Whats the best procedure JIRA wise on this? Reo

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2008-11-17 Thread Jonathan Mamou (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648259#action_12648259 ] Jonathan Mamou commented on LUCENE-1001: Hi, Here is the relevant code. I would

Re: [jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2008-11-17 Thread Jonathan Mamou
Hi, Here is the relevant code. I would expect to obtain 10 pos: 10 pos: 11 while I obtain 10 pos: 0 pos: 11 import java.io.StringReader; import java.util.Collection; import java.util.Iterator; import org.apache.lucene.document.Document; import org.apache.lucene.document.Field; import org.

Re: [jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2008-11-16 Thread Mark Miller
Could you turn that code into a simple test...or submit the code so I could reduce it to a test? Jonathan Mamou (JIRA) wrote: [ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647978#action_12647978 ]

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2008-11-16 Thread Jonathan Mamou (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647978#action_12647978 ] Jonathan Mamou commented on LUCENE-1001: In my document, I have " term1 ... te

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2008-11-16 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647970#action_12647970 ] Mark Miller commented on LUCENE-1001: - So are you finding the payloads not at the righ

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2008-11-16 Thread Jonathan Mamou (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647965#action_12647965 ] Jonathan Mamou commented on LUCENE-1001: Hi, I use getPayloadSpans to get the spa

Re: [jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2008-08-11 Thread Mark Miller
Right, I havn't dug into that either other than to change it to a TermQuery and it still doesn't get a hit - so I just assumed it never worked. I don't think its the payloads, just the test, but I'll look into it. Def some cleanup left at a minimum, and perhaps some thought beyond that. Grant

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2008-08-11 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621578#action_12621578 ] Grant Ingersoll commented on LUCENE-1001: - TestBoostingTermQuery.testNoPayload now

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2008-08-10 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621321#action_12621321 ] Mark Miller commented on LUCENE-1001: - I'll correct it if I have anything to add later

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2008-04-30 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593370#action_12593370 ] Grant Ingersoll commented on LUCENE-1001: - I don't think that patch is compatible

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2008-04-30 Thread Jonathan Mamou (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593362#action_12593362 ] Jonathan Mamou commented on LUCENE-1001: Is this patch also compatible with Lucene

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2007-11-26 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545419 ] Grant Ingersoll commented on LUCENE-1001: - There is an issue w/ this patch related to unordered, overlapping

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2007-11-25 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545268 ] Grant Ingersoll commented on LUCENE-1001: - Yeah, I was thinking this as a possibility, but thought people ma

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2007-11-21 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544532 ] Doug Cutting commented on LUCENE-1001: -- > how do I get access to the position payloads in the order that they o

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2007-11-20 Thread Paul Elschot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544108 ] Paul Elschot commented on LUCENE-1001: -- Grant, You asked: ... how do I get access to the position payloads in

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2007-11-20 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544105 ] Grant Ingersoll commented on LUCENE-1001: - Sure, but how do I get access to the position payloads in the ord

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2007-11-20 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544029 ] Doug Cutting commented on LUCENE-1001: -- > Would it be simpler to just use a SortedSet? TreeMap is slower than

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2007-11-20 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543915 ] Grant Ingersoll commented on LUCENE-1001: - {quote} Off the top of my head: the priority queue is used to mak

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2007-11-19 Thread Paul Elschot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543722 ] Paul Elschot commented on LUCENE-1001: -- So far, it's easier than that: when they match, they all match, so you

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2007-11-19 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543696 ] Grant Ingersoll commented on LUCENE-1001: - I have it implemented for the Ordered case (and all other Spans)

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2007-11-19 Thread Paul Elschot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543692 ] Paul Elschot commented on LUCENE-1001: -- I only wrote NearSpansOrdered. NearSpansOrdered is what is left of the

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2007-11-19 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543640 ] Grant Ingersoll commented on LUCENE-1001: - Paul, I think I have this implemented for the most part, but am

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2007-10-23 Thread Paul Elschot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12537082 ] Paul Elschot commented on LUCENE-1001: -- I think I would just go ahead and create a parallel class hierarchy sta

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2007-10-22 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536872 ] Grant Ingersoll commented on LUCENE-1001: - {quote} public interface PayloadSpans extends Spans { // as above

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2007-09-16 Thread Paul Elschot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527863 ] Paul Elschot commented on LUCENE-1001: -- My mistake, I thought Spans was an abstract class, but it is an interfa

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2007-09-16 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527856 ] Grant Ingersoll commented on LUCENE-1001: - This also blurs the line more between payloads and Spans, I sugge

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2007-09-16 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527855 ] Grant Ingersoll commented on LUCENE-1001: - Do you mean in a separate interface? I suppose I should for back

[jira] Commented: (LUCENE-1001) Add Payload retrieval to Spans

2007-09-16 Thread Paul Elschot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527837 ] Paul Elschot commented on LUCENE-1001: -- Could you put this in a subclass of Spans? A little while ago I sugges