Index: trunk/grails-app/domain/Asset.groovy
===================================================================
--- trunk/grails-app/domain/Asset.groovy	(revision 484)
+++ trunk/grails-app/domain/Asset.groovy	(revision 562)
@@ -30,4 +30,9 @@
     }
 
+    static searchable = {
+        root false // only index as a component of InventoryItem.
+        only = ['name', 'description', 'comment']
+    }
+
     //  This additional setter is used to convert the checkBoxList string or string array
     //  of ids selected to the corresponding domain objects.
Index: trunk/grails-app/domain/InventoryItem.groovy
===================================================================
--- trunk/grails-app/domain/InventoryItem.groovy	(revision 484)
+++ trunk/grails-app/domain/InventoryItem.groovy	(revision 562)
@@ -61,4 +61,11 @@
     String toString() {"${this.name}"}
 
+    static searchable = {
+        only = ['name', 'description', 'comment', 'inventoryLocation', 'spareFor']
+        //name boost: 1.5
+        inventoryLocation component: true
+        spareFor component: true
+    }
+
     def afterInsert = {
         addReverseAlternateItems()
Index: trunk/grails-app/domain/InventoryLocation.groovy
===================================================================
--- trunk/grails-app/domain/InventoryLocation.groovy	(revision 484)
+++ trunk/grails-app/domain/InventoryLocation.groovy	(revision 562)
@@ -16,3 +16,9 @@
         "${this.name}"
     }
+
+    static searchable = {
+        root false // only index as a component of InventoryItem.
+        only = ['name']
+    }
+
 }
