Jim, Id, title, description, field1, field2, field3,field4....field 30. These are the qurery fields.
In cfindex i make id as key and title and description as body(search fields),title as index title. Cfsearch is returning only title, how can i get id, field2, description, field3... Because once i got search results, i have to write some more code from all query fields and display all that fields information in page. I have no idea about custom1,2... > On 8/3/07, ch g <[EMAIL PROTECTED]> wrote: > > How can i get all query fields from cfindex and cfsearch? Cfsearch > is returning only title, summary, author.... > > > > But i need all query fields what ever i passed to cfindex. > > > > This is what i am doing, initially i am getting all the data from > the database then i am passing id as key and two search fields to > cfindex. I mention the keyword in cfsearch. After search i need the > remaining information(other query fields) also. > > > > If I understand what you are trying to do, you may want to do the > cfsearch, then query the database based on the keys returned by > cfsearch, and then combine the two queries using a QoQ. That way you > can get the fields that you indexed listed separately in your results > (and other things from the db that might not have been part of the > index). They also may be in the custom1 and custom2 fields, if that > is where you put them to be indexed. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285376 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4