Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When you want to create a flexible search option you can create a Quick Search. A Quick Search looks across a range of layers for a match against entered criteria. The Quick Search function is independent of the Active Layer. In order to However before it will work, a Quick Search requires an Index to be created.

...

  1. Open the client_main.xml file for editing. Ensure the Quick Search text box is visible somewhere in the Weave application by searching for "indexcombo". If it's not there, add the following XML to your file:

    Code Block
    <item component="weave.indexcombo" minScale="2500" all="true"/>
  2. An Index is linked to an Entity so the Entity should exist in the entity.xml file. If it doesn't exist, add it to this file. 
     
  3. The details of the Quick Search itself need to be added to the index.xml file. This dictates specifies what results you want returned. The process of setting up an Index (and thus a Quick Search) is well documented in the Weave Configuration Reference (Indexing). Please refer to it as there are many parameters that can be set on your Index, and to achieve the desired result it 's is necessary to understand the way the Index is created and the parameters that can be defined. 

  4. Though an Index is defined in the index.xml file the Index itself is not automatically created, it is created manually or at a set time. Once you’ve defined an Index, it can be created manually using the Weave Administration Tool Console or Weave's OSGi console. Open the console window.
     
  5. Type the command is to return a list of all indexes.

     
     
  6. Note the Index number that is of interest (the number under the Index heading). Then use the command ib <space separated list of index ids> to rebuild the index of interest. The index will be built in the background so check the Weave log file for the results of the index building. 





...

Filter by label (Content by label)
showLabelsfalse
max5
spacescohga
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("quicksearch","search","index") and type = "page" and space = "cohgaweavedocs1"
labelsquicksearch search index

Page Properties
hiddentrue
Related issues