Sweet thanks Carl. I'll definitely do that, as we will have a general search box on all pages, so that will work out nicely. :-D
James On Feb 3, 2008, at 1:59 AM, Carl Vondrick wrote: > > On Saturday, February 02, 2008, James wrote: >> Let's say we have 2 kinds of data Mutual Funds and Stock >> Descriptions. I want to use sfLucene to search them independently >> from 2 separate search boxes, so one will return only "Mutual Funds" >> and the other only "Stock Descriptions". I haven't started >> investigating this yet, but it's on my list of things to do over the >> next couple weeks. I've already successfully used sfLucene to get >> one >> of the 2 searchable, so I am hoping the 2nd one is trivial. Can >> anyone comment on this? > This is pretty simple to do. You can approach this in one of two > ways: > > 1) Use built-in categories. This is useful if you are going to want > to search > both mutual funds and stock descriptions at the same time in the > future. > > 2) Create two separate indexes. Then, create two search modules > that inherit > the same base class. > > Carl > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
