lookthrough vs. sizelimit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



That clarifies it perfectly.
Thanks for the example!

Richard Megginson wrote:
> In general, lookthroughlimit is much stricter than sizelimit.
>
> For example, let's say a user wants to do an unindexed search for 
> (description=*something*).  Let's say that there are 5000 users and 
> 1000 users who have a description attribute that matches *something*.  
> The server will have to search through every entry in sequential 
> (indeterminate) order to find matches.
>
> If you set lookthroughlimit to be 1000, and set sizelimit to be 
> unlimited, the server will look at up to 1000 entries looking for 
> description=*something*.  Some of them may match, some of them may 
> not, and the server will return 1000 or fewer entries 
> (indeterminate).  The server is limited in the amount of work it 
> performs searching through the database.
>
> If you set sizelimit to be 1000, and set lookthroughlimit to be 
> unlimited, the server could look at all 5000 user entries, until it 
> finds 1000 entries which match, at which point it will terminate the 
> search and return the 1000 entries to the user.





[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux