lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guidotag <...@git.apache.org>
Subject [GitHub] lucenenet pull request: Port from Support's to Util's PQ.
Date Wed, 18 Feb 2015 20:10:32 GMT
GitHub user guidotag opened a pull request:

    https://github.com/apache/lucenenet/pull/103

    Port from Support's to Util's PQ.

    Added a resizing functionality. Now the PQ resizes when it runs out of space. Since the
former version was more restrictive (the size was fixed from the beginning) it should be backwards
compatible. Nevertheless, it should be checked that no previous usage was expecting an IndexOutOfRangeException
when adding elements to the queue.
    
    Added a ToArray method.
    
    Added tests.
    
    With this change, TestsFuzzyQuery/TestFuzziness and TestFuzzyQuery/TestTieBreaker, from
the Search package, now succeed.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/guidotag/lucenenet ms_pq_references

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucenenet/pull/103.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #103
    
----
commit abce0d52410f20bcc89cdc3682669eb6ae289d19
Author: Guido Tagliavini Ponce <t-gupon@microsoft.com>
Date:   2015-02-18T19:30:14Z

    Added resizing functionality to the PQ. This is needed to support usages in which the
maximum size cannot be predefined. Discarded a test which checked correct overflow. Added
a test to check resizing.

commit bf98bcabf991085f6cf35a62db12011e403769d1
Author: Guido Tagliavini Ponce <t-gupon@microsoft.com>
Date:   2015-02-18T20:01:33Z

    Added ToArray method to the PQ. Added more tests to check resizing.

commit 9428451c8ee87b39efeb2c39b94eb153067a066e
Author: Guido Tagliavini Ponce <t-gupon@microsoft.com>
Date:   2015-02-18T20:02:13Z

    Changed the only reference to Support's PQ. Changed the corresponding method calls.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message