Re: Make TermScorer non final

2009-03-17 Thread Grant Ingersoll
What does PayloadTermQuery do that BoostingTermQuery doesn't do? -Grant On Mar 17, 2009, at 1:27 PM, Simon Willnauer wrote: Hi, I looked at TermScorer today in order implement a TermQuery to utilize Payloads from the index. I realized that this class is final in the current trunk. It's kind of

Re: Planing for Payload utilization in Queries

2009-03-17 Thread Grant Ingersoll
On Mar 17, 2009, at 1:36 PM, Simon Willnauer wrote: Hi Grant, On Tue, Mar 17, 2009 at 6:04 PM, Grant Ingersoll wrote: I think there is one implementation in JIRA for another Query, but I don't know of any others. I'd love to see the equivalents of a lot of the SpanQueries in place, esp

[jira] Commented: (LUCENE-1522) another highlighter

2009-03-17 Thread Marvin Humphrey (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682777#action_12682777 ] Marvin Humphrey commented on LUCENE-1522: - >> ANDQuery, ORQuery, and RequiredOptio

[jira] Issue Comment Edited: (LUCENE-1522) another highlighter

2009-03-17 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682762#action_12682762 ] Michael Busch edited comment on LUCENE-1522 at 3/17/09 12:10 PM: ---

[jira] Commented: (LUCENE-1522) another highlighter

2009-03-17 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682762#action_12682762 ] Michael Busch commented on LUCENE-1522: --- I wrote the highlighter for the OmniFind Ya

Re: New flexible query parser

2009-03-17 Thread Michael Busch
OK, sounds good. Thanks, Grant. -Michael On Tue, Mar 17, 2009 at 10:02 AM, Grant Ingersoll wrote: > > On Mar 17, 2009, at 11:18 AM, Michael Busch wrote: > > Thanks Grant, I'll go through the template tonight. >> >> Luis and Adriano are preparing a patch - they should be ready in a day or >> two.

Re: Planing for Payload utilization in Queries

2009-03-17 Thread Simon Willnauer
Hi Grant, On Tue, Mar 17, 2009 at 6:04 PM, Grant Ingersoll wrote: > I think there is one implementation in JIRA for another Query, but I don't > know of any others.   I'd love to see the equivalents of a lot of the > SpanQueries in place, esp. the SpanNear capabilities.  Of course, there is > als

Make TermScorer non final

2009-03-17 Thread Simon Willnauer
Hi, I looked at TermScorer today in order implement a TermQuery to utilize Payloads from the index. I realized that this class is final in the current trunk. It's kind of obvious that is is declared final for optimization purposes. I wanna know if it is possible to make it non final in the next rel

Re: Planing for Payload utilization in Queries

2009-03-17 Thread Grant Ingersoll
I think there is one implementation in JIRA for another Query, but I don't know of any others. I'd love to see the equivalents of a lot of the SpanQueries in place, esp. the SpanNear capabilities. Of course, there is also the new Token Attribute stuff that may make payloads a thing of th

Re: New flexible query parser

2009-03-17 Thread Grant Ingersoll
On Mar 17, 2009, at 11:18 AM, Michael Busch wrote: Thanks Grant, I'll go through the template tonight. Luis and Adriano are preparing a patch - they should be ready in a day or two. So we can simply open a Jira issue and attach as a normal patch? Yes, just don't commit it and email me ba

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

2009-03-17 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682720#action_12682720 ] Michael McCandless commented on LUCENE-1516: OK, don't worry about cleaning th

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

2009-03-17 Thread Jason Rutherglen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682707#action_12682707 ] Jason Rutherglen commented on LUCENE-1516: -- Hi Mike, yes please! I have not had

Using MultiFieldQueryParser

2009-03-17 Thread mitu2009
Hi, Am working on a book search api using Lucene.User can search for a book whose title or description field contains C.F.A.. Am using Lucene's MultiFieldQueryParser..But after parsing, its removing the dots in the string. What am i missing here? Thanks. -- View this message in context: htt

[jira] Commented: (LUCENE-1522) another highlighter

2009-03-17 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682696#action_12682696 ] Mark Miller commented on LUCENE-1522: - {quote}But, flattening could produce just a and

Re: New flexible query parser

2009-03-17 Thread Michael Busch
Thanks Grant, I'll go through the template tonight. Luis and Adriano are preparing a patch - they should be ready in a day or two. So we can simply open a Jira issue and attach as a normal patch? -Michael On 3/17/09 12:06 PM, Grant Ingersoll wrote: On Mar 16, 2009, at 7:23 PM, Michael Busch

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

2009-03-17 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682690#action_12682690 ] Michael McCandless commented on LUCENE-1516: Jason can I have the conch here?

[jira] Commented: (LUCENE-1522) another highlighter

2009-03-17 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682689#action_12682689 ] Michael McCandless commented on LUCENE-1522: {quote} > Do you require term vec

[jira] Commented: (LUCENE-1522) another highlighter

2009-03-17 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682688#action_12682688 ] Michael McCandless commented on LUCENE-1522: {quote} PS: Obviously, refinement

Using Highlighter for highlighting Phrase query

2009-03-17 Thread mitu2009
Am using this version of Lucene highlighter.net API. I want to get a phrase highlighted only when ALL of its words are present in the search results..But,am not able to do sofor example, if my input search string is "Leading telecom company", then the API only highlights "telecom" in the resul

Planing for Payload utilization in Queries

2009-03-17 Thread Simon Willnauer
Hi there, I'm curious if there are any plans to provide more Query implementations that utilize / support Payloads? I found this feature extremely useful for certain cases and will definitely implement it for other Queries than BoostingTermQuery. Is anybody working on that stuff and are other impl

[jira] Commented: (LUCENE-1522) another highlighter

2009-03-17 Thread Marvin Humphrey (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682672#action_12682672 ] Marvin Humphrey commented on LUCENE-1522: - > Do you require term vectors to be sto

[jira] Created: (LUCENE-1566) Large Lucene index can hit false OOM due to Sun JRE issue

2009-03-17 Thread Michael McCandless (JIRA)
Large Lucene index can hit false OOM due to Sun JRE issue - Key: LUCENE-1566 URL: https://issues.apache.org/jira/browse/LUCENE-1566 Project: Lucene - Java Issue Type: Bug Comp

Is TopDocCollector's collect() implementation correct?

2009-03-17 Thread Shai Erera
Hi TopDocCollector's (TDC) implementation of collect() seems a bit problematic to me. if (reusableSD == null) { reusableSD = new ScoreDoc(doc, score); } else if (score >= reusableSD.score) { // reusableSD holds the last "rejected" entry, so, if // this new scor

Re: New flexible query parser

2009-03-17 Thread Grant Ingersoll
On Mar 16, 2009, at 7:23 PM, Michael Busch wrote: So if there is interest we would like to contribute this work to Lucene. I think the amount of code (~6K LOC) is higher than in a usual patch, but also lower than some contrib modules. So I'm not sure if we could contribute it as a normal pat

[jira] Commented: (LUCENE-1522) another highlighter

2009-03-17 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682609#action_12682609 ] Michael McCandless commented on LUCENE-1522: {quote} > It'd be sort of like a

Re: New flexible query parser

2009-03-17 Thread Paul Elschot
On Tuesday 17 March 2009 00:23:37 Michael Busch wrote: > Hello, > > in my team at IBM we have used a different query parser than Lucene's in > our products for quite a while. Recently we spent a significant amount > of time in refactoring the code and designing a very generic > architecture, so th