|
How can I specify the default index to use for a specific app? I have an App with a few inputs defined that put all of their content into an app-specific index, index_myApp. I have a number of reports that all work splendidly, but I also have a flashtimeline where users can run custom searches of the content in that index. When they search there, they get the main index rather than index_myApp. How can I default it to the index containing all of this app's data? |
|
Similar to how the *nix app prefaces all of it's searches with 'index=os', you can do the same thing with your app. If you are on a *nix instance, take a look at
You can modify your own app's flashtimeline.xml view in the same way Perfect. Thanks!
(20 Jan '11, 00:52)
David
the parameter 'q' is actually deprecated. You should use 'default'.
(20 Jan '11, 01:07)
araitz ♦♦
Fun fact I found when testing possible solutions before posting this question: If you define defaultDatabase = myIndex in the indexes.conf for any app, it overrides the global defaultDatabase. This seems like fodder for an excellent prank.
(20 Jan '11, 01:51)
David
|
