So you are saying sometimes the title is right, and sometimes not?
Verity tries to find the title from the metadata of the document when
indexing. Did you check the documents with bad titles to make sure
that they are set up right?

As for your second question, yes, using CF7. Simply add the
contextPassages attribute to your cfsearch tag and check the contest
column of the result.

Oh - and get rid of that evalute. You can change it to

      maxRows = "#Form.MaxRows + 1#"

On 7/1/06, John Lucania <[EMAIL PROTECTED]> wrote:
> I have cfsearch for Word documents in a directory, but it is not
> returning the results as I expect.
>
> <cfsearch
>     name = "GetResults"
>      collection = "MyFormSearch"
>      criteria = "#LCase(Form.Criteria)#"
>      StartRow = "#Form.StartRow#"
>      maxRows = "#Evaluate(Form.MaxRows + 1)#"
>      title="Title"
> >
>
> The document titles are at the top (usually with one row, or with two
> rows if the title is long) of the document (all Word documents), but
> cfsearch doesn't pull out some of document titles.   If possible with
> cfsearch, I want to show a few lines of the Word contents like Google
> search.
>
> Are there cfsearch examples I can use out there?
>
> TIA,
>
> JL
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245284
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to