[jira] [Updated] (LUCENE-4938) IndexSearcher.search() with sort doesnt do min(maxdoc, n)

2013-05-16 Thread Shalin Shekhar Mangar (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shalin Shekhar Mangar updated LUCENE-4938:
--

Fix Version/s: (was: 4.4)
   4.3.1
   Labels:   (was: lucene-4.3.1-candidate)

Back ported to 4.3.1 r1483384.

 IndexSearcher.search() with sort doesnt do min(maxdoc, n)
 -

 Key: LUCENE-4938
 URL: https://issues.apache.org/jira/browse/LUCENE-4938
 Project: Lucene - Core
  Issue Type: Bug
Reporter: Robert Muir
 Fix For: 5.0, 4.3.1

 Attachments: LUCENE-4938.patch, LUCENE-4938.patch, LUCENE-4938.patch


 It does this without a sort though.
 This caused TestFunctionQuerySort.testSearchAfterWhenSortingByFunctionValues 
 to OOM (why only sometimes?)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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] [Updated] (LUCENE-4938) IndexSearcher.search() with sort doesnt do min(maxdoc, n)

2013-05-10 Thread Steve Rowe (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Rowe updated LUCENE-4938:
---

Labels: lucene-4.3.1-candidate  (was: )

 IndexSearcher.search() with sort doesnt do min(maxdoc, n)
 -

 Key: LUCENE-4938
 URL: https://issues.apache.org/jira/browse/LUCENE-4938
 Project: Lucene - Core
  Issue Type: Bug
Reporter: Robert Muir
  Labels: lucene-4.3.1-candidate
 Fix For: 5.0, 4.4

 Attachments: LUCENE-4938.patch, LUCENE-4938.patch, LUCENE-4938.patch


 It does this without a sort though.
 This caused TestFunctionQuerySort.testSearchAfterWhenSortingByFunctionValues 
 to OOM (why only sometimes?)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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] [Updated] (LUCENE-4938) IndexSearcher.search() with sort doesnt do min(maxdoc, n)

2013-04-19 Thread Robert Muir (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated LUCENE-4938:


Attachment: LUCENE-4938.patch

Updated patch, i added a test to try to test all indexsearcher methods for this.

it currently fails.

 IndexSearcher.search() with sort doesnt do min(maxdoc, n)
 -

 Key: LUCENE-4938
 URL: https://issues.apache.org/jira/browse/LUCENE-4938
 Project: Lucene - Core
  Issue Type: Bug
Reporter: Robert Muir
 Attachments: LUCENE-4938.patch, LUCENE-4938.patch


 It does this without a sort though.
 This caused TestFunctionQuerySort.testSearchAfterWhenSortingByFunctionValues 
 to OOM (why only sometimes?)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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] [Updated] (LUCENE-4938) IndexSearcher.search() with sort doesnt do min(maxdoc, n)

2013-04-19 Thread Robert Muir (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated LUCENE-4938:


Attachment: LUCENE-4938.patch

oh it was just one missing place: fixed here.

Test passes now.

 IndexSearcher.search() with sort doesnt do min(maxdoc, n)
 -

 Key: LUCENE-4938
 URL: https://issues.apache.org/jira/browse/LUCENE-4938
 Project: Lucene - Core
  Issue Type: Bug
Reporter: Robert Muir
 Attachments: LUCENE-4938.patch, LUCENE-4938.patch, LUCENE-4938.patch


 It does this without a sort though.
 This caused TestFunctionQuerySort.testSearchAfterWhenSortingByFunctionValues 
 to OOM (why only sometimes?)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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] [Updated] (LUCENE-4938) IndexSearcher.search() with sort doesnt do min(maxdoc, n)

2013-04-17 Thread Robert Muir (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated LUCENE-4938:


Attachment: LUCENE-4938.patch

This is the patch i sent to the dev list. But we should add simple tests for 
this (also for the other search method).

Also i want to know how the test ever passed... is this due to something 
AssertingIndexSearcher is doing?

 IndexSearcher.search() with sort doesnt do min(maxdoc, n)
 -

 Key: LUCENE-4938
 URL: https://issues.apache.org/jira/browse/LUCENE-4938
 Project: Lucene - Core
  Issue Type: Bug
Reporter: Robert Muir
 Attachments: LUCENE-4938.patch


 It does this without a sort though.
 This caused TestFunctionQuerySort.testSearchAfterWhenSortingByFunctionValues 
 to OOM (why only sometimes?)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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