Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91179603
PhabricatorUserFerretEngine.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Nov 8, 17:08
Size
545 B
Mime Type
text/x-php
Expires
Sun, Nov 10, 17:08 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22210049
Attached To
rPH Phabricator
PhabricatorUserFerretEngine.php
View Options
<?php
final
class
PhabricatorUserFerretEngine
extends
PhabricatorFerretEngine
{
public
function
getApplicationName
()
{
return
'user'
;
}
public
function
getScopeName
()
{
return
'user'
;
}
public
function
newSearchEngine
()
{
return
new
PhabricatorPeopleSearchEngine
();
}
public
function
getObjectTypeRelevance
()
{
// Always sort users above other documents, regardless of relevance
// metrics. A user profile is very likely to be the best hit for a query
// which matches a user.
return
500
;
}
}
Event Timeline
Log In to Comment