[jira] [Commented] (LUCENE-3534) Backport FilteredQuery/IndexSearcher changes to 3.x: Remove filter logic from IndexSearcher and delegate to FilteredQuery

2011-10-25 Thread Uwe Schindler (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-3534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13135128#comment-13135128
 ] 

Uwe Schindler commented on LUCENE-3534:
---

My problem is that this backport is almost impossible: Searchable and Searcher 
abstract class prevent this from being done.

We have several choices:
- we can heavily break backwards and maybe nuke Searcher and Searchable earlier
- we keep API intact, only call FilteredQuery.weight() from inside 
IndexSaercher instead of duplicating code
- close issue as won't fix

Any comments?

 Backport FilteredQuery/IndexSearcher changes to 3.x: Remove filter logic from 
 IndexSearcher and delegate to FilteredQuery
 -

 Key: LUCENE-3534
 URL: https://issues.apache.org/jira/browse/LUCENE-3534
 Project: Lucene - Java
  Issue Type: Improvement
Reporter: Uwe Schindler
Assignee: Uwe Schindler

 Spinoff from LUCENE-1536: We simplified the code in IndexSearcher to no 
 longer do the filtering there, instead wrap all Query with FilteredQuery, if 
 a non-null filter is given. The conjunction code would then only exist in 
 FilteredQuery which makes it easier to maintain. Currently both 
 implementations differ in 3.x, in trunk we used the more optimized 
 IndexSearcher variant with addition of a simplified in-order conjunction code.
 This issue will backport those changes (without random access bits).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-3534) Backport FilteredQuery/IndexSearcher changes to 3.x: Remove filter logic from IndexSearcher and delegate to FilteredQuery

2011-10-25 Thread Robert Muir (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-3534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13135131#comment-13135131
 ] 

Robert Muir commented on LUCENE-3534:
-

i dont think we should heavy-break in a minor release, especially since we 
cannot use random access Bits.


 Backport FilteredQuery/IndexSearcher changes to 3.x: Remove filter logic from 
 IndexSearcher and delegate to FilteredQuery
 -

 Key: LUCENE-3534
 URL: https://issues.apache.org/jira/browse/LUCENE-3534
 Project: Lucene - Java
  Issue Type: Improvement
Reporter: Uwe Schindler
Assignee: Uwe Schindler

 Spinoff from LUCENE-1536: We simplified the code in IndexSearcher to no 
 longer do the filtering there, instead wrap all Query with FilteredQuery, if 
 a non-null filter is given. The conjunction code would then only exist in 
 FilteredQuery which makes it easier to maintain. Currently both 
 implementations differ in 3.x, in trunk we used the more optimized 
 IndexSearcher variant with addition of a simplified in-order conjunction code.
 This issue will backport those changes (without random access bits).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-3534) Backport FilteredQuery/IndexSearcher changes to 3.x: Remove filter logic from IndexSearcher and delegate to FilteredQuery

2011-10-25 Thread Uwe Schindler (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-3534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13135132#comment-13135132
 ] 

Uwe Schindler commented on LUCENE-3534:
---

I tend to the second solution, as the whole issue was about removing the code 
duplication between IS and FQ (which also have different implementations of the 
same code).

 Backport FilteredQuery/IndexSearcher changes to 3.x: Remove filter logic from 
 IndexSearcher and delegate to FilteredQuery
 -

 Key: LUCENE-3534
 URL: https://issues.apache.org/jira/browse/LUCENE-3534
 Project: Lucene - Java
  Issue Type: Improvement
Reporter: Uwe Schindler
Assignee: Uwe Schindler

 Spinoff from LUCENE-1536: We simplified the code in IndexSearcher to no 
 longer do the filtering there, instead wrap all Query with FilteredQuery, if 
 a non-null filter is given. The conjunction code would then only exist in 
 FilteredQuery which makes it easier to maintain. Currently both 
 implementations differ in 3.x, in trunk we used the more optimized 
 IndexSearcher variant with addition of a simplified in-order conjunction code.
 This issue will backport those changes (without random access bits).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-3534) Backport FilteredQuery/IndexSearcher changes to 3.x: Remove filter logic from IndexSearcher and delegate to FilteredQuery

2011-10-25 Thread Robert Muir (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-3534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13135141#comment-13135141
 ] 

Robert Muir commented on LUCENE-3534:
-

for the second solution, we get some benefits of cleanup, without breaks right? 
Sounds good to me.

 Backport FilteredQuery/IndexSearcher changes to 3.x: Remove filter logic from 
 IndexSearcher and delegate to FilteredQuery
 -

 Key: LUCENE-3534
 URL: https://issues.apache.org/jira/browse/LUCENE-3534
 Project: Lucene - Java
  Issue Type: Improvement
Reporter: Uwe Schindler
Assignee: Uwe Schindler

 Spinoff from LUCENE-1536: We simplified the code in IndexSearcher to no 
 longer do the filtering there, instead wrap all Query with FilteredQuery, if 
 a non-null filter is given. The conjunction code would then only exist in 
 FilteredQuery which makes it easier to maintain. Currently both 
 implementations differ in 3.x, in trunk we used the more optimized 
 IndexSearcher variant with addition of a simplified in-order conjunction code.
 This issue will backport those changes (without random access bits).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-3534) Backport FilteredQuery/IndexSearcher changes to 3.x: Remove filter logic from IndexSearcher and delegate to FilteredQuery

2011-10-25 Thread Uwe Schindler (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-3534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13135236#comment-13135236
 ] 

Uwe Schindler commented on LUCENE-3534:
---

bq. Robert Muir added a comment - 25/Oct/11 16:51 - *edited*

Much better! I will commit soon and move forward to nuking SpanFilters :-)

 Backport FilteredQuery/IndexSearcher changes to 3.x: Remove filter logic from 
 IndexSearcher and delegate to FilteredQuery
 -

 Key: LUCENE-3534
 URL: https://issues.apache.org/jira/browse/LUCENE-3534
 Project: Lucene - Java
  Issue Type: Improvement
Reporter: Uwe Schindler
Assignee: Uwe Schindler
 Attachments: LUCENE-3463.patch, LUCENE-3534.patch


 Spinoff from LUCENE-1536: We simplified the code in IndexSearcher to no 
 longer do the filtering there, instead wrap all Query with FilteredQuery, if 
 a non-null filter is given. The conjunction code would then only exist in 
 FilteredQuery which makes it easier to maintain. Currently both 
 implementations differ in 3.x, in trunk we used the more optimized 
 IndexSearcher variant with addition of a simplified in-order conjunction code.
 This issue will backport those changes (without random access bits).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org