Issue Type: Docs: Problem Created: 2011-03-22T20:31:51.000+0000 Last Updated: 2012-05-17T17:39:14.000+0000 Status: Closed Fix version(s): Reporter: Danny Schuller (progressed) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Search_Lucene
Related issues: Attachments:
Got a little blocker. new to the zend framework and so far i like it!
What i have done: - got a tool running that crawls the website and puts it in into a sitemap for google to pick up. - I use $doc = Zend_Search_Lucene_Document_Html::loadHTMLFile($item->loc, true); $doc->addField(Zend_Search_Lucene_Field::Text('link', $item->loc)); $index->addDocument($doc);
To build an index and with the true option in loadHTMLFile i can print the output with $body.
Unfortunatly the body IS what i need but not everyting. I would like to get the context within for exemple
this is what i need to index
and nothing outside that.
I've been search the internet for a solution for over 5 days, but nobody has the same issue because they all get it directly from a database. Is this even possible? and if so... is it documented?
Hope you guys/girls can get me into the right direction!
Posted by Adam Lundrigan (adamlundrigan) on 2012-05-17T17:39:14.000+0000
This is not an issue with Zend Framework. Please send your question to the appropriate ZF mailing list and someone will help you out.
Have you found an issue?
See the Overview section for more details.