CCK Search by Field

FredJones - June 1, 2008 - 16:30

I believe this question has been asked before, but I see no clear answer. I have a site with a simple CCK nodetype with a few text fields. We need to implement a 'scholarly' search whereby one can limit one's search by year, Volume, author, or limit his search to the Title field. We want something akin to the author, subject, date feature here:

http://scholar.google.co.il/advanced_scholar_search?hl=en&lr=

The Faceted Search module I believe may have this functionality, but neither the stable nor beta version will run correctly on the PHP 4 live server and even the stable one doesn't run on my local PHP 5 dev. server. :(

Faceted Search is quite a complicated module. My simple approach would be to just run a regular old text search based on the fields submitted. I would have to add an index or two, but aside from that, I think it would work.

Are there any better suggestions?

Thanks!

Give it another chance?

David Lesieur - June 23, 2008 - 01:19

AFAIK, there are no other readily available solutions for per-field search than Field Indexer + Faceted Search at the moment. You may disable the faceted browsing if you do not need it.

You might want to try the latest version, 1.0 beta4. Both PHP 4 and 5 are supposed to work. Please report any issue you encounter in Faceted Search's issue queue so we can make it work if it doesn't already.

Note that there was never a "stable" version of Faceted Search; the 0.x series were alpha versions, and now we're at the beta stage.

Cheers!

Thank you

FredJones - July 3, 2008 - 07:38

I will have a look.

No chance for Drupal 6?

jpewert - July 9, 2008 - 11:21

Does that mean there is no way however obscure that I can search only specific CCK fields in Drupal 6? This sounds incredible. So the only way to search CCK fields would be to write a PHP script that goes through the MySQL Database?

make it a bit customise

bhabanid_2000 - July 3, 2008 - 10:39

Hi, just make it a bit customize , the search will workout as pper your requirement.
San
for
http://www.enfinet.com

apply search for content

chhaya - June 11, 2009 - 05:11

Hi ,
I want to apply seerch for the content that when I enter ant keyword in serach text box all the content have the title like that keyword are displayed.Is there any module for this?

You can use the live search

pankajshr_jpr - June 21, 2009 - 06:51

You can use the live search module: http://drupal.org/project/livesearch

 
 

Drupal is a registered trademark of Dries Buytaert.