Give serial field higher precedence for search

This commit is contained in:
Jeremy Stretch 2024-06-12 09:57:22 -04:00
parent d54e3a139c
commit db885dceb3

View File

@ -39,8 +39,8 @@ class ClusterTypeIndex(SearchIndex):
class VirtualMachineIndex(SearchIndex):
model = models.VirtualMachine
fields = (
('serial', 60),
('name', 100),
('serial', 300),
('description', 500),
('comments', 5000),
)