Lucence, solr và Drupal ??

Hi Thế Hồng.
Lucence chỉ có thể index html, pdf, word. Không index database.
Vậy thì có cách nào để thực hiện một site search mà kết quả trả về là node title, node body teaser và 1 thumnail cho node đó??
Thế Hồng có cách giải quyết nào không?

Comments

Vậy ý của ông là gì? Tôi chưa

Vậy ý của ông là gì? Tôi chưa mường tượng nổi.

The Hong

Lucence

Vâng.
Kết quả search của module search trong Drupal là một title + body. Bên cạnh đó tôi gắn thêm vào kết quả search một field image bằng template engine. Kết quả thu đựoc từ search của Drupal không chính sác 100%.
Điều tôi băn khoăn là cơ chế search của Lucence + solr có gì khác so với search có sẳn của Drupal và kết quả search chính sác 100% ?.
Tôi chưa thử .....

Vậy là ông tính hỏi gì?

Vậy là ông tính hỏi gì?

Lucence

Cơ chế search của Lucence và solr trên Drupal??

Module lucene trên Drupal chỉ

Module lucene trên Drupal chỉ là sử dụng hàm để gọi tới API, nghĩa là Lucene trên Drupal cũng chỉ là Lucene. Tìm hiểu nó, đi vào trang chủ, tìm một vài tutorial, ...

Tài liệu sử dụng Lucene PHP ở đây: http://framework.zend.com/manual/en/zend.search.lucene.html

Thế Hồng

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <sup> <br> <p> <h3>
  • Lines and paragraphs break automatically.
  • Link to content with [[some text]], where "some text" is the title of existing content or the title of a new piece of content to create. You can also link text to a different title by using [[link to this title|show this text]]. Link to outside URLs with [[http://www.example.com|some text]], or even [[http://www.example.com]].
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo]. PHP source code can also be enclosed in <?php ... ?> or <% ... %>.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.