1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Xapian: API Documentation: Xapian::MSet Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceXapian.html">Xapian</a></li><li class="navelem"><a class="el" href="classXapian_1_1MSet.html">MSet</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="classXapian_1_1MSet-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Xapian::MSet Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Class representing a list of search results.
<a href="classXapian_1_1MSet.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a4797ae2295f88e49a9f76e3b89c21d88"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <a class="el" href="classXapian_1_1MSet.html#a4797ae2295f88e49a9f76e3b89c21d88a7e7bcf75fc86edbc657266ce83d412d1">SNIPPET_BACKGROUND_MODEL</a> = 1,
<a class="el" href="classXapian_1_1MSet.html#a4797ae2295f88e49a9f76e3b89c21d88aea6a34a9c66720a44d5969ed47ca8edb">SNIPPET_EXHAUSTIVE</a> = 2,
<a class="el" href="classXapian_1_1MSet.html#a4797ae2295f88e49a9f76e3b89c21d88a88e25634675d381df062299100c8c602">SNIPPET_EMPTY_WITHOUT_MATCH</a> = 4
}</td></tr>
<tr class="separator:a4797ae2295f88e49a9f76e3b89c21d88"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2837803ca4a7a7dd01b01df2735ace8b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#a2837803ca4a7a7dd01b01df2735ace8b">MSet</a> (const <a class="el" href="classXapian_1_1MSet.html">MSet</a> &o)</td></tr>
<tr class="memdesc:a2837803ca4a7a7dd01b01df2735ace8b"><td class="mdescLeft"> </td><td class="mdescRight">Copying is allowed. <a href="#a2837803ca4a7a7dd01b01df2735ace8b">More...</a><br /></td></tr>
<tr class="separator:a2837803ca4a7a7dd01b01df2735ace8b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abe354658f0019eb85c44810242365800"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXapian_1_1MSet.html">MSet</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#abe354658f0019eb85c44810242365800">operator=</a> (const <a class="el" href="classXapian_1_1MSet.html">MSet</a> &o)</td></tr>
<tr class="memdesc:abe354658f0019eb85c44810242365800"><td class="mdescLeft"> </td><td class="mdescRight">Copying is allowed. <a href="#abe354658f0019eb85c44810242365800">More...</a><br /></td></tr>
<tr class="separator:abe354658f0019eb85c44810242365800"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2731b94a40e99a83c3e5d516809dc2e3"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#a2731b94a40e99a83c3e5d516809dc2e3">MSet</a> ()</td></tr>
<tr class="memdesc:a2731b94a40e99a83c3e5d516809dc2e3"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#a2731b94a40e99a83c3e5d516809dc2e3">More...</a><br /></td></tr>
<tr class="separator:a2731b94a40e99a83c3e5d516809dc2e3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a84b1c1a6db62dee0ca1aefadf4ef2d18"><td class="memItemLeft" align="right" valign="top"><a id="a84b1c1a6db62dee0ca1aefadf4ef2d18"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#a84b1c1a6db62dee0ca1aefadf4ef2d18">~MSet</a> ()</td></tr>
<tr class="memdesc:a84b1c1a6db62dee0ca1aefadf4ef2d18"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a84b1c1a6db62dee0ca1aefadf4ef2d18"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6f834ac35fdcc58fcd5eb38fc7f320f1"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#a6f834ac35fdcc58fcd5eb38fc7f320f1">convert_to_percent</a> (double <a class="el" href="namespaceXapian.html#acac12803afc9e24ee5141c119acb8884">weight</a>) const</td></tr>
<tr class="memdesc:a6f834ac35fdcc58fcd5eb38fc7f320f1"><td class="mdescLeft"> </td><td class="mdescRight">Convert a weight to a percentage. <a href="#a6f834ac35fdcc58fcd5eb38fc7f320f1">More...</a><br /></td></tr>
<tr class="separator:a6f834ac35fdcc58fcd5eb38fc7f320f1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a610feaa8b1278bcd73510cec7f0deabf"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#a610feaa8b1278bcd73510cec7f0deabf">convert_to_percent</a> (const <a class="el" href="classXapian_1_1MSetIterator.html">MSetIterator</a> &it) const</td></tr>
<tr class="memdesc:a610feaa8b1278bcd73510cec7f0deabf"><td class="mdescLeft"> </td><td class="mdescRight">Convert the weight of the current iterator position to a percentage. <a href="#a610feaa8b1278bcd73510cec7f0deabf">More...</a><br /></td></tr>
<tr class="separator:a610feaa8b1278bcd73510cec7f0deabf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa869331afad28c2d815d0553198c4914"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceXapian.html#a9bbd62a8e56ea4619e4e59afb32aced6">Xapian::doccount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#aa869331afad28c2d815d0553198c4914">get_termfreq</a> (const std::string &term) const</td></tr>
<tr class="memdesc:aa869331afad28c2d815d0553198c4914"><td class="mdescLeft"> </td><td class="mdescRight">Get the termfreq of a term. <a href="#aa869331afad28c2d815d0553198c4914">More...</a><br /></td></tr>
<tr class="separator:aa869331afad28c2d815d0553198c4914"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a086b0d7436ff05257352cde7c3cd1d7a"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#a086b0d7436ff05257352cde7c3cd1d7a">get_termweight</a> (const std::string &term) const</td></tr>
<tr class="memdesc:a086b0d7436ff05257352cde7c3cd1d7a"><td class="mdescLeft"> </td><td class="mdescRight">Get the term weight of a term. <a href="#a086b0d7436ff05257352cde7c3cd1d7a">More...</a><br /></td></tr>
<tr class="separator:a086b0d7436ff05257352cde7c3cd1d7a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8a8acbf405fc883ccd11823743f1d8a3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceXapian.html#a9bbd62a8e56ea4619e4e59afb32aced6">Xapian::doccount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#a8a8acbf405fc883ccd11823743f1d8a3">get_firstitem</a> () const</td></tr>
<tr class="memdesc:a8a8acbf405fc883ccd11823743f1d8a3"><td class="mdescLeft"> </td><td class="mdescRight">Rank of first item in this <a class="el" href="classXapian_1_1MSet.html" title="Class representing a list of search results. ">MSet</a>. <a href="#a8a8acbf405fc883ccd11823743f1d8a3">More...</a><br /></td></tr>
<tr class="separator:a8a8acbf405fc883ccd11823743f1d8a3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae0e08d51eb1e5ae95b635e0a40d6fd52"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceXapian.html#a9bbd62a8e56ea4619e4e59afb32aced6">Xapian::doccount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#ae0e08d51eb1e5ae95b635e0a40d6fd52">get_matches_lower_bound</a> () const</td></tr>
<tr class="memdesc:ae0e08d51eb1e5ae95b635e0a40d6fd52"><td class="mdescLeft"> </td><td class="mdescRight">Lower bound on the total number of matching documents. <a href="#ae0e08d51eb1e5ae95b635e0a40d6fd52">More...</a><br /></td></tr>
<tr class="separator:ae0e08d51eb1e5ae95b635e0a40d6fd52"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af54a6addf7af63106b2778ab722c2f86"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceXapian.html#a9bbd62a8e56ea4619e4e59afb32aced6">Xapian::doccount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#af54a6addf7af63106b2778ab722c2f86">get_matches_estimated</a> () const</td></tr>
<tr class="memdesc:af54a6addf7af63106b2778ab722c2f86"><td class="mdescLeft"> </td><td class="mdescRight">Estimate of the total number of matching documents. <a href="#af54a6addf7af63106b2778ab722c2f86">More...</a><br /></td></tr>
<tr class="separator:af54a6addf7af63106b2778ab722c2f86"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aab4c7156a64d9a80de932f073c240a2a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceXapian.html#a9bbd62a8e56ea4619e4e59afb32aced6">Xapian::doccount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#aab4c7156a64d9a80de932f073c240a2a">get_matches_upper_bound</a> () const</td></tr>
<tr class="memdesc:aab4c7156a64d9a80de932f073c240a2a"><td class="mdescLeft"> </td><td class="mdescRight">Upper bound on the total number of matching documents. <a href="#aab4c7156a64d9a80de932f073c240a2a">More...</a><br /></td></tr>
<tr class="separator:aab4c7156a64d9a80de932f073c240a2a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a540dd8ef78247b923f71eeab74e48134"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceXapian.html#a9bbd62a8e56ea4619e4e59afb32aced6">Xapian::doccount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#a540dd8ef78247b923f71eeab74e48134">get_uncollapsed_matches_lower_bound</a> () const</td></tr>
<tr class="memdesc:a540dd8ef78247b923f71eeab74e48134"><td class="mdescLeft"> </td><td class="mdescRight">Lower bound on the total number of matching documents before collapsing. <a href="#a540dd8ef78247b923f71eeab74e48134">More...</a><br /></td></tr>
<tr class="separator:a540dd8ef78247b923f71eeab74e48134"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a52a7f3415a4a51b8aba5f7c0d4a9892b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceXapian.html#a9bbd62a8e56ea4619e4e59afb32aced6">Xapian::doccount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#a52a7f3415a4a51b8aba5f7c0d4a9892b">get_uncollapsed_matches_estimated</a> () const</td></tr>
<tr class="memdesc:a52a7f3415a4a51b8aba5f7c0d4a9892b"><td class="mdescLeft"> </td><td class="mdescRight">Estimate of the total number of matching documents before collapsing. <a href="#a52a7f3415a4a51b8aba5f7c0d4a9892b">More...</a><br /></td></tr>
<tr class="separator:a52a7f3415a4a51b8aba5f7c0d4a9892b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a47f362e6501e6aa47eb2fd52691881a6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceXapian.html#a9bbd62a8e56ea4619e4e59afb32aced6">Xapian::doccount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#a47f362e6501e6aa47eb2fd52691881a6">get_uncollapsed_matches_upper_bound</a> () const</td></tr>
<tr class="memdesc:a47f362e6501e6aa47eb2fd52691881a6"><td class="mdescLeft"> </td><td class="mdescRight">Upper bound on the total number of matching documents before collapsing. <a href="#a47f362e6501e6aa47eb2fd52691881a6">More...</a><br /></td></tr>
<tr class="separator:a47f362e6501e6aa47eb2fd52691881a6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adfb104107f974854c1869d8d65bdcf5c"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#adfb104107f974854c1869d8d65bdcf5c">get_max_attained</a> () const</td></tr>
<tr class="memdesc:adfb104107f974854c1869d8d65bdcf5c"><td class="mdescLeft"> </td><td class="mdescRight">The maximum weight attained by any document. <a href="#adfb104107f974854c1869d8d65bdcf5c">More...</a><br /></td></tr>
<tr class="separator:adfb104107f974854c1869d8d65bdcf5c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a39cd85e88e098a6552cc016d59aa70eb"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#a39cd85e88e098a6552cc016d59aa70eb">get_max_possible</a> () const</td></tr>
<tr class="memdesc:a39cd85e88e098a6552cc016d59aa70eb"><td class="mdescLeft"> </td><td class="mdescRight">The maximum possible weight any document could achieve. <a href="#a39cd85e88e098a6552cc016d59aa70eb">More...</a><br /></td></tr>
<tr class="separator:a39cd85e88e098a6552cc016d59aa70eb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab3af7b20654dcc6e3335cc21be74efda"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#ab3af7b20654dcc6e3335cc21be74efda">snippet</a> (const std::string &text, size_t length=500, const <a class="el" href="classXapian_1_1Stem.html">Xapian::Stem</a> &stemmer=<a class="el" href="classXapian_1_1Stem.html">Xapian::Stem</a>(), unsigned flags=<a class="el" href="classXapian_1_1MSet.html#a4797ae2295f88e49a9f76e3b89c21d88a7e7bcf75fc86edbc657266ce83d412d1">SNIPPET_BACKGROUND_MODEL</a>|<a class="el" href="classXapian_1_1MSet.html#a4797ae2295f88e49a9f76e3b89c21d88aea6a34a9c66720a44d5969ed47ca8edb">SNIPPET_EXHAUSTIVE</a>, const std::string &hi_start="<b>", const std::string &hi_end="</b>", const std::string &omit="...") const</td></tr>
<tr class="memdesc:ab3af7b20654dcc6e3335cc21be74efda"><td class="mdescLeft"> </td><td class="mdescRight">Generate a snippet. <a href="#ab3af7b20654dcc6e3335cc21be74efda">More...</a><br /></td></tr>
<tr class="separator:ab3af7b20654dcc6e3335cc21be74efda"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab7e25dceb5762ad2dd8ca4d700393489"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#ab7e25dceb5762ad2dd8ca4d700393489">fetch</a> (const <a class="el" href="classXapian_1_1MSetIterator.html">MSetIterator</a> &<a class="el" href="classXapian_1_1MSet.html#ad00d5e7f564fe0e5031cb5f89b829ffe">begin</a>, const <a class="el" href="classXapian_1_1MSetIterator.html">MSetIterator</a> &<a class="el" href="classXapian_1_1MSet.html#aef1a9f42ccf5319c86b087ce10d5fa20">end</a>) const</td></tr>
<tr class="memdesc:ab7e25dceb5762ad2dd8ca4d700393489"><td class="mdescLeft"> </td><td class="mdescRight">Prefetch hint a range of items. <a href="#ab7e25dceb5762ad2dd8ca4d700393489">More...</a><br /></td></tr>
<tr class="separator:ab7e25dceb5762ad2dd8ca4d700393489"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad5f6577f453f3e5a41f7fd3457343522"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#ad5f6577f453f3e5a41f7fd3457343522">fetch</a> (const <a class="el" href="classXapian_1_1MSetIterator.html">MSetIterator</a> &item) const</td></tr>
<tr class="memdesc:ad5f6577f453f3e5a41f7fd3457343522"><td class="mdescLeft"> </td><td class="mdescRight">Prefetch hint a single <a class="el" href="classXapian_1_1MSet.html" title="Class representing a list of search results. ">MSet</a> item. <a href="#ad5f6577f453f3e5a41f7fd3457343522">More...</a><br /></td></tr>
<tr class="separator:ad5f6577f453f3e5a41f7fd3457343522"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a36740b4bfe8ce8701ba78ef4e7d91a71"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#a36740b4bfe8ce8701ba78ef4e7d91a71">fetch</a> () const</td></tr>
<tr class="memdesc:a36740b4bfe8ce8701ba78ef4e7d91a71"><td class="mdescLeft"> </td><td class="mdescRight">Prefetch hint the whole <a class="el" href="classXapian_1_1MSet.html" title="Class representing a list of search results. ">MSet</a>. <a href="#a36740b4bfe8ce8701ba78ef4e7d91a71">More...</a><br /></td></tr>
<tr class="separator:a36740b4bfe8ce8701ba78ef4e7d91a71"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2181d1574210c9b600775a309aebbf49"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceXapian.html#a9bbd62a8e56ea4619e4e59afb32aced6">Xapian::doccount</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#a2181d1574210c9b600775a309aebbf49">size</a> () const</td></tr>
<tr class="memdesc:a2181d1574210c9b600775a309aebbf49"><td class="mdescLeft"> </td><td class="mdescRight">Return number of items in this <a class="el" href="classXapian_1_1MSet.html" title="Class representing a list of search results. ">MSet</a> object. <a href="#a2181d1574210c9b600775a309aebbf49">More...</a><br /></td></tr>
<tr class="separator:a2181d1574210c9b600775a309aebbf49"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7780eff9822ad459fd793272b6adf749"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#a7780eff9822ad459fd793272b6adf749">empty</a> () const</td></tr>
<tr class="memdesc:a7780eff9822ad459fd793272b6adf749"><td class="mdescLeft"> </td><td class="mdescRight">Return true if this <a class="el" href="classXapian_1_1MSet.html" title="Class representing a list of search results. ">MSet</a> object is empty. <a href="#a7780eff9822ad459fd793272b6adf749">More...</a><br /></td></tr>
<tr class="separator:a7780eff9822ad459fd793272b6adf749"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac1d51d1bc951e0cfb0f31aea41adc7e7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#ac1d51d1bc951e0cfb0f31aea41adc7e7">swap</a> (<a class="el" href="classXapian_1_1MSet.html">MSet</a> &o)</td></tr>
<tr class="memdesc:ac1d51d1bc951e0cfb0f31aea41adc7e7"><td class="mdescLeft"> </td><td class="mdescRight">Efficiently swap this <a class="el" href="classXapian_1_1MSet.html" title="Class representing a list of search results. ">MSet</a> object with another. <a href="#ac1d51d1bc951e0cfb0f31aea41adc7e7">More...</a><br /></td></tr>
<tr class="separator:ac1d51d1bc951e0cfb0f31aea41adc7e7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad00d5e7f564fe0e5031cb5f89b829ffe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXapian_1_1MSetIterator.html">MSetIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#ad00d5e7f564fe0e5031cb5f89b829ffe">begin</a> () const</td></tr>
<tr class="memdesc:ad00d5e7f564fe0e5031cb5f89b829ffe"><td class="mdescLeft"> </td><td class="mdescRight">Return iterator pointing to the first item in this <a class="el" href="classXapian_1_1MSet.html" title="Class representing a list of search results. ">MSet</a>. <a href="#ad00d5e7f564fe0e5031cb5f89b829ffe">More...</a><br /></td></tr>
<tr class="separator:ad00d5e7f564fe0e5031cb5f89b829ffe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aef1a9f42ccf5319c86b087ce10d5fa20"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXapian_1_1MSetIterator.html">MSetIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#aef1a9f42ccf5319c86b087ce10d5fa20">end</a> () const</td></tr>
<tr class="memdesc:aef1a9f42ccf5319c86b087ce10d5fa20"><td class="mdescLeft"> </td><td class="mdescRight">Return iterator pointing to just after the last item in this <a class="el" href="classXapian_1_1MSet.html" title="Class representing a list of search results. ">MSet</a>. <a href="#aef1a9f42ccf5319c86b087ce10d5fa20">More...</a><br /></td></tr>
<tr class="separator:aef1a9f42ccf5319c86b087ce10d5fa20"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a93644d435fa3579c83a64e9cd6ffee6a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXapian_1_1MSetIterator.html">MSetIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#a93644d435fa3579c83a64e9cd6ffee6a">operator[]</a> (<a class="el" href="namespaceXapian.html#a9bbd62a8e56ea4619e4e59afb32aced6">Xapian::doccount</a> i) const</td></tr>
<tr class="memdesc:a93644d435fa3579c83a64e9cd6ffee6a"><td class="mdescLeft"> </td><td class="mdescRight">Return iterator pointing to the i-th object in this <a class="el" href="classXapian_1_1MSet.html" title="Class representing a list of search results. ">MSet</a>. <a href="#a93644d435fa3579c83a64e9cd6ffee6a">More...</a><br /></td></tr>
<tr class="separator:a93644d435fa3579c83a64e9cd6ffee6a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abcd7a17e20b8fd2d64d8df67371a954c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXapian_1_1MSetIterator.html">MSetIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#abcd7a17e20b8fd2d64d8df67371a954c">back</a> () const</td></tr>
<tr class="memdesc:abcd7a17e20b8fd2d64d8df67371a954c"><td class="mdescLeft"> </td><td class="mdescRight">Return iterator pointing to the last object in this <a class="el" href="classXapian_1_1MSet.html" title="Class representing a list of search results. ">MSet</a>. <a href="#abcd7a17e20b8fd2d64d8df67371a954c">More...</a><br /></td></tr>
<tr class="separator:abcd7a17e20b8fd2d64d8df67371a954c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7970089557763b250769d6fac3fdcdf5"><td class="memItemLeft" align="right" valign="top"><a id="a7970089557763b250769d6fac3fdcdf5"></a>
std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classXapian_1_1MSet.html#a7970089557763b250769d6fac3fdcdf5">get_description</a> () const</td></tr>
<tr class="memdesc:a7970089557763b250769d6fac3fdcdf5"><td class="mdescLeft"> </td><td class="mdescRight">Return a string describing this object. <br /></td></tr>
<tr class="separator:a7970089557763b250769d6fac3fdcdf5"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a3f7a1e3a1ee8177199ab4ab38925bca9"><td class="memItemLeft" align="right" valign="top"><a id="a3f7a1e3a1ee8177199ab4ab38925bca9"></a>
<a class="el" href="namespaceXapian.html#a9bbd62a8e56ea4619e4e59afb32aced6">Xapian::doccount</a> </td><td class="memItemRight" valign="bottom"><b>max_size</b> () const</td></tr>
<tr class="separator:a3f7a1e3a1ee8177199ab4ab38925bca9"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class representing a list of search results. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a4797ae2295f88e49a9f76e3b89c21d88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4797ae2295f88e49a9f76e3b89c21d88">◆ </a></span>anonymous enum</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">anonymous enum</td>
</tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a4797ae2295f88e49a9f76e3b89c21d88a7e7bcf75fc86edbc657266ce83d412d1"></a>SNIPPET_BACKGROUND_MODEL </td><td class="fielddoc"><p>Model the relevancy of non-query terms in <a class="el" href="classXapian_1_1MSet.html#ab3af7b20654dcc6e3335cc21be74efda" title="Generate a snippet. ">MSet::snippet()</a>. </p>
<p>Non-query terms will be assigned a small weight, and the snippet will tend to prefer snippets which contain a more interesting background (where the query term content is equivalent). </p>
</td></tr>
<tr><td class="fieldname"><a id="a4797ae2295f88e49a9f76e3b89c21d88aea6a34a9c66720a44d5969ed47ca8edb"></a>SNIPPET_EXHAUSTIVE </td><td class="fielddoc"><p>Exhaustively evaluate candidate snippets in <a class="el" href="classXapian_1_1MSet.html#ab3af7b20654dcc6e3335cc21be74efda" title="Generate a snippet. ">MSet::snippet()</a>. </p>
<p>Without this flag, snippet generation will stop once it thinks it has found a "good enough" snippet, which will generally reduce the time taken to generate a snippet. </p>
</td></tr>
<tr><td class="fieldname"><a id="a4797ae2295f88e49a9f76e3b89c21d88a88e25634675d381df062299100c8c602"></a>SNIPPET_EMPTY_WITHOUT_MATCH </td><td class="fielddoc"><p>Return the empty string if no term got matched. </p>
<p>If enabled, <a class="el" href="classXapian_1_1MSet.html#ab3af7b20654dcc6e3335cc21be74efda" title="Generate a snippet. ">snippet()</a> returns an empty string if not a single match was found in text. If not enabled, <a class="el" href="classXapian_1_1MSet.html#ab3af7b20654dcc6e3335cc21be74efda" title="Generate a snippet. ">snippet()</a> returns a (sub)string of text without any highlighted terms. </p>
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a2837803ca4a7a7dd01b01df2735ace8b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2837803ca4a7a7dd01b01df2735ace8b">◆ </a></span>MSet() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Xapian::MSet::MSet </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXapian_1_1MSet.html">MSet</a> & </td>
<td class="paramname"><em>o</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Copying is allowed. </p>
<p>The internals are reference counted, so copying is cheap. </p>
</div>
</div>
<a id="a2731b94a40e99a83c3e5d516809dc2e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2731b94a40e99a83c3e5d516809dc2e3">◆ </a></span>MSet() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Xapian::MSet::MSet </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Default constructor. </p>
<p>Creates an empty <a class="el" href="classXapian_1_1MSet.html" title="Class representing a list of search results. ">MSet</a>, mostly useful as a placeholder. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="abcd7a17e20b8fd2d64d8df67371a954c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abcd7a17e20b8fd2d64d8df67371a954c">◆ </a></span>back()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXapian_1_1MSetIterator.html">MSetIterator</a> Xapian::MSet::back </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return iterator pointing to the last object in this <a class="el" href="classXapian_1_1MSet.html" title="Class representing a list of search results. ">MSet</a>. </p>
</div>
</div>
<a id="ad00d5e7f564fe0e5031cb5f89b829ffe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad00d5e7f564fe0e5031cb5f89b829ffe">◆ </a></span>begin()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXapian_1_1MSetIterator.html">MSetIterator</a> Xapian::MSet::begin </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return iterator pointing to the first item in this <a class="el" href="classXapian_1_1MSet.html" title="Class representing a list of search results. ">MSet</a>. </p>
</div>
</div>
<a id="a6f834ac35fdcc58fcd5eb38fc7f320f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f834ac35fdcc58fcd5eb38fc7f320f1">◆ </a></span>convert_to_percent() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Xapian::MSet::convert_to_percent </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>weight</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert a weight to a percentage. </p>
<p>The matching document with the highest weight will get 100% if it matches all the weighted query terms, and proportionally less if it only matches some, and other weights are scaled by the same factor.</p>
<p>Documents with a non-zero score will always score at least 1%.</p>
<p>Note that these generally aren't percentages of anything meaningful (unless you use a custom weighting formula where they are!) </p>
<p class="reference">Referenced by <a class="el" href="classXapian_1_1MSetIterator.html#a4f7ae602dc6d2311d8298b24bef3c95c">Xapian::MSetIterator::get_percent()</a>.</p>
</div>
</div>
<a id="a610feaa8b1278bcd73510cec7f0deabf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a610feaa8b1278bcd73510cec7f0deabf">◆ </a></span>convert_to_percent() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int Xapian::MSet::convert_to_percent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXapian_1_1MSetIterator.html">MSetIterator</a> & </td>
<td class="paramname"><em>it</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert the weight of the current iterator position to a percentage. </p>
<p>The matching document with the highest weight will get 100% if it matches all the weighted query terms, and proportionally less if it only matches some, and other weights are scaled by the same factor.</p>
<p>Documents with a non-zero score will always score at least 1%.</p>
<p>Note that these generally aren't percentages of anything meaningful (unless you use a custom weighting formula where they are!) </p>
<p class="reference">References <a class="el" href="classXapian_1_1MSetIterator.html#aaab3f59a87ba89afffe3375bd33a59ca">Xapian::MSetIterator::get_weight()</a>.</p>
</div>
</div>
<a id="a7780eff9822ad459fd793272b6adf749"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7780eff9822ad459fd793272b6adf749">◆ </a></span>empty()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Xapian::MSet::empty </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return true if this <a class="el" href="classXapian_1_1MSet.html" title="Class representing a list of search results. ">MSet</a> object is empty. </p>
</div>
</div>
<a id="aef1a9f42ccf5319c86b087ce10d5fa20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef1a9f42ccf5319c86b087ce10d5fa20">◆ </a></span>end()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXapian_1_1MSetIterator.html">MSetIterator</a> Xapian::MSet::end </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return iterator pointing to just after the last item in this <a class="el" href="classXapian_1_1MSet.html" title="Class representing a list of search results. ">MSet</a>. </p>
</div>
</div>
<a id="ab7e25dceb5762ad2dd8ca4d700393489"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7e25dceb5762ad2dd8ca4d700393489">◆ </a></span>fetch() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Xapian::MSet::fetch </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXapian_1_1MSetIterator.html">MSetIterator</a> & </td>
<td class="paramname"><em>begin</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXapian_1_1MSetIterator.html">MSetIterator</a> & </td>
<td class="paramname"><em>end</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Prefetch hint a range of items. </p>
<p>For a remote database, this may start a pipelined fetched of the requested documents from the remote server.</p>
<p>For a disk-based database, this may send prefetch hints to the operating system such that the disk blocks the requested documents are stored in are more likely to be in the cache when we come to actually read them. </p>
</div>
</div>
<a id="ad5f6577f453f3e5a41f7fd3457343522"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5f6577f453f3e5a41f7fd3457343522">◆ </a></span>fetch() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Xapian::MSet::fetch </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXapian_1_1MSetIterator.html">MSetIterator</a> & </td>
<td class="paramname"><em>item</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Prefetch hint a single <a class="el" href="classXapian_1_1MSet.html" title="Class representing a list of search results. ">MSet</a> item. </p>
<p>For a remote database, this may start a pipelined fetched of the requested documents from the remote server.</p>
<p>For a disk-based database, this may send prefetch hints to the operating system such that the disk blocks the requested documents are stored in are more likely to be in the cache when we come to actually read them. </p>
</div>
</div>
<a id="a36740b4bfe8ce8701ba78ef4e7d91a71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36740b4bfe8ce8701ba78ef4e7d91a71">◆ </a></span>fetch() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Xapian::MSet::fetch </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Prefetch hint the whole <a class="el" href="classXapian_1_1MSet.html" title="Class representing a list of search results. ">MSet</a>. </p>
<p>For a remote database, this may start a pipelined fetched of the requested documents from the remote server.</p>
<p>For a disk-based database, this may send prefetch hints to the operating system such that the disk blocks the requested documents are stored in are more likely to be in the cache when we come to actually read them. </p>
</div>
</div>
<a id="a8a8acbf405fc883ccd11823743f1d8a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a8acbf405fc883ccd11823743f1d8a3">◆ </a></span>get_firstitem()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceXapian.html#a9bbd62a8e56ea4619e4e59afb32aced6">Xapian::doccount</a> Xapian::MSet::get_firstitem </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Rank of first item in this <a class="el" href="classXapian_1_1MSet.html" title="Class representing a list of search results. ">MSet</a>. </p>
<p>This is the parameter <code>first</code> passed to <a class="el" href="classXapian_1_1Enquire.html#aab6fba434e5ddbbea2adcab85ba5ba4a" title="Get (a portion of) the match set for the current query. ">Xapian::Enquire::get_mset()</a>. </p>
<p class="reference">Referenced by <a class="el" href="classXapian_1_1MSetIterator.html#a45c5fd6195cbf515bea98bc00f3ad81d">Xapian::MSetIterator::get_rank()</a>.</p>
</div>
</div>
<a id="af54a6addf7af63106b2778ab722c2f86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af54a6addf7af63106b2778ab722c2f86">◆ </a></span>get_matches_estimated()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceXapian.html#a9bbd62a8e56ea4619e4e59afb32aced6">Xapian::doccount</a> Xapian::MSet::get_matches_estimated </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Estimate of the total number of matching documents. </p>
</div>
</div>
<a id="ae0e08d51eb1e5ae95b635e0a40d6fd52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0e08d51eb1e5ae95b635e0a40d6fd52">◆ </a></span>get_matches_lower_bound()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceXapian.html#a9bbd62a8e56ea4619e4e59afb32aced6">Xapian::doccount</a> Xapian::MSet::get_matches_lower_bound </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Lower bound on the total number of matching documents. </p>
</div>
</div>
<a id="aab4c7156a64d9a80de932f073c240a2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab4c7156a64d9a80de932f073c240a2a">◆ </a></span>get_matches_upper_bound()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceXapian.html#a9bbd62a8e56ea4619e4e59afb32aced6">Xapian::doccount</a> Xapian::MSet::get_matches_upper_bound </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Upper bound on the total number of matching documents. </p>
</div>
</div>
<a id="adfb104107f974854c1869d8d65bdcf5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adfb104107f974854c1869d8d65bdcf5c">◆ </a></span>get_max_attained()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double Xapian::MSet::get_max_attained </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>The maximum weight attained by any document. </p>
</div>
</div>
<a id="a39cd85e88e098a6552cc016d59aa70eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39cd85e88e098a6552cc016d59aa70eb">◆ </a></span>get_max_possible()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double Xapian::MSet::get_max_possible </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>The maximum possible weight any document could achieve. </p>
</div>
</div>
<a id="aa869331afad28c2d815d0553198c4914"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa869331afad28c2d815d0553198c4914">◆ </a></span>get_termfreq()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceXapian.html#a9bbd62a8e56ea4619e4e59afb32aced6">Xapian::doccount</a> Xapian::MSet::get_termfreq </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>term</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the termfreq of a term. </p>
<dl class="section return"><dt>Returns</dt><dd>The number of documents <em>term</em> occurs in. </dd></dl>
</div>
</div>
<a id="a086b0d7436ff05257352cde7c3cd1d7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a086b0d7436ff05257352cde7c3cd1d7a">◆ </a></span>get_termweight()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double Xapian::MSet::get_termweight </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>term</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the term weight of a term. </p>
<dl class="section return"><dt>Returns</dt><dd>The maximum weight that <em>term</em> could have contributed to a document. </dd></dl>
</div>
</div>
<a id="a52a7f3415a4a51b8aba5f7c0d4a9892b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52a7f3415a4a51b8aba5f7c0d4a9892b">◆ </a></span>get_uncollapsed_matches_estimated()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceXapian.html#a9bbd62a8e56ea4619e4e59afb32aced6">Xapian::doccount</a> Xapian::MSet::get_uncollapsed_matches_estimated </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Estimate of the total number of matching documents before collapsing. </p>
<p>Conceptually the same as <a class="el" href="classXapian_1_1MSet.html#af54a6addf7af63106b2778ab722c2f86" title="Estimate of the total number of matching documents. ">get_matches_estimated()</a> for the same query without any collapse part (though the actual value may differ). </p>
</div>
</div>
<a id="a540dd8ef78247b923f71eeab74e48134"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a540dd8ef78247b923f71eeab74e48134">◆ </a></span>get_uncollapsed_matches_lower_bound()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceXapian.html#a9bbd62a8e56ea4619e4e59afb32aced6">Xapian::doccount</a> Xapian::MSet::get_uncollapsed_matches_lower_bound </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Lower bound on the total number of matching documents before collapsing. </p>
<p>Conceptually the same as <a class="el" href="classXapian_1_1MSet.html#ae0e08d51eb1e5ae95b635e0a40d6fd52" title="Lower bound on the total number of matching documents. ">get_matches_lower_bound()</a> for the same query without any collapse part (though the actual value may differ). </p>
</div>
</div>
<a id="a47f362e6501e6aa47eb2fd52691881a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47f362e6501e6aa47eb2fd52691881a6">◆ </a></span>get_uncollapsed_matches_upper_bound()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceXapian.html#a9bbd62a8e56ea4619e4e59afb32aced6">Xapian::doccount</a> Xapian::MSet::get_uncollapsed_matches_upper_bound </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Upper bound on the total number of matching documents before collapsing. </p>
<p>Conceptually the same as <a class="el" href="classXapian_1_1MSet.html#aab4c7156a64d9a80de932f073c240a2a" title="Upper bound on the total number of matching documents. ">get_matches_upper_bound()</a> for the same query without any collapse part (though the actual value may differ). </p>
</div>
</div>
<a id="abe354658f0019eb85c44810242365800"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe354658f0019eb85c44810242365800">◆ </a></span>operator=()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXapian_1_1MSet.html">MSet</a>& Xapian::MSet::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXapian_1_1MSet.html">MSet</a> & </td>
<td class="paramname"><em>o</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Copying is allowed. </p>
<p>The internals are reference counted, so assignment is cheap. </p>
</div>
</div>
<a id="a93644d435fa3579c83a64e9cd6ffee6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93644d435fa3579c83a64e9cd6ffee6a">◆ </a></span>operator[]()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXapian_1_1MSetIterator.html">MSetIterator</a> Xapian::MSet::operator[] </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceXapian.html#a9bbd62a8e56ea4619e4e59afb32aced6">Xapian::doccount</a> </td>
<td class="paramname"><em>i</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return iterator pointing to the i-th object in this <a class="el" href="classXapian_1_1MSet.html" title="Class representing a list of search results. ">MSet</a>. </p>
</div>
</div>
<a id="a2181d1574210c9b600775a309aebbf49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2181d1574210c9b600775a309aebbf49">◆ </a></span>size()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceXapian.html#a9bbd62a8e56ea4619e4e59afb32aced6">Xapian::doccount</a> Xapian::MSet::size </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Return number of items in this <a class="el" href="classXapian_1_1MSet.html" title="Class representing a list of search results. ">MSet</a> object. </p>
<p class="reference">Referenced by <a class="el" href="classXapian_1_1MSetIterator.html#a45c5fd6195cbf515bea98bc00f3ad81d">Xapian::MSetIterator::get_rank()</a>.</p>
</div>
</div>
<a id="ab3af7b20654dcc6e3335cc21be74efda"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3af7b20654dcc6e3335cc21be74efda">◆ </a></span>snippet()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string Xapian::MSet::snippet </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>text</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>length</em> = <code>500</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXapian_1_1Stem.html">Xapian::Stem</a> & </td>
<td class="paramname"><em>stemmer</em> = <code><a class="el" href="classXapian_1_1Stem.html">Xapian::Stem</a>()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned </td>
<td class="paramname"><em>flags</em> = <code><a class="el" href="classXapian_1_1MSet.html#a4797ae2295f88e49a9f76e3b89c21d88a7e7bcf75fc86edbc657266ce83d412d1">SNIPPET_BACKGROUND_MODEL</a>|<a class="el" href="classXapian_1_1MSet.html#a4797ae2295f88e49a9f76e3b89c21d88aea6a34a9c66720a44d5969ed47ca8edb">SNIPPET_EXHAUSTIVE</a></code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>hi_start</em> = <code>"<b>"</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>hi_end</em> = <code>"</b>"</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>omit</em> = <code>"..."</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Generate a snippet. </p>
<p>This method selects a continuous run of words of less than about <em>length</em> bytes from <em>text</em>, based mainly on where the query matches (currently terms, exact phrases and wildcards are taken into account), but also on the non-query terms in the text.</p>
<p>The returned text can be escaped (by default, it is escaped to make it suitable for use in HTML), and matches with the query will be highlighted using <em>hi_start</em> and <em>hi_end</em>.</p>
<p>If the snippet seems to start or end mid-sentence, then <em>omit</em> is prepended or append (respectively) to indicate this.</p>
<p>The stemmer used to build the query should be specified in <em>stemmer</em>.</p>
<p>And <em>flags</em> contains flags controlling behaviour.</p>
<p>Added in 1.3.5. </p>
</div>
</div>
<a id="ac1d51d1bc951e0cfb0f31aea41adc7e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1d51d1bc951e0cfb0f31aea41adc7e7">◆ </a></span>swap()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Xapian::MSet::swap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXapian_1_1MSet.html">MSet</a> & </td>
<td class="paramname"><em>o</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Efficiently swap this <a class="el" href="classXapian_1_1MSet.html" title="Class representing a list of search results. ">MSet</a> object with another. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>xapian/<a class="el" href="mset_8h.html">mset.h</a></li>
</ul>
</div><!-- contents -->
<hr>
<address><small>
Documentation for Xapian (version 1.4.3).<br>
Generated on Wed Jan 25 2017 by
<a href="http://www.doxygen.org/">Doxygen 1.8.13</a>.
</small></address>
</body>
</html>
|