As the title states - I've tried with both Text and Autocomplete elements on both node-finder and view-finder and get the same results. Disjunction works fine, but does not suit my purposes. Would love to hear any ideas on this!

Comments

danielb’s picture

Category: bug » support

Can you give some information about your use-case?

Dr Jay’s picture

Thanks for getting back to me. Not sure what to tell you since the behavior is consistent over all different scenarios (in this particular installation). Currently, I am using it to search a view (of available publications) and it works completely with disjunction (text element) but returns no results for the other two (even if using a single-word query). I wonder if it may be a conflict with another module (lucene or customsearch seem the obvious culprits, though disabling them has had no effect). Here is the drush report in case that throws up any red flags to you:

Advanced Forum 6.x-1.1 6.x-1.1 Up to date
Advanced help 6.x-1.2 6.x-1.2 Up to date
Drupal core 6.16 6.17 Update available
Author Pane 6.x-1.1 6.x-1.1 Up to date
Better Formats 6.x-1.2 6.x-1.2 Up to date
Ubercart 6.x-2.3 6.x-2.3 Up to date
Calendar 6.x-2.2 6.x-2.2 Up to date
CAPTCHA 6.x-2.2 6.x-2.2 Up to date
Field Indexer 6.x-1.0 6.x-1.0 Up to date
CCK Link to Map 6.x-2.x-dev 6.x-2.x-dev Up to date
CiviRegister 6.x-1.1 6.x-1.1 Up to date
Conditional Fields 6.x-1.1 6.x-1.1 Up to date
Conditional Stylesheets 6.x-1.1 6.x-1.1 Up to date
Content Construction Kit (CCK) 6.x-2.7 6.x-2.7 Up to date
CAPTCHA Pack 6.x-1.0-beta3 6.x-1.0-beta3 Up to date
Whatever:hover 6.x-1.0 6.x-1.0 Up to date
Chaos tool suite 6.x-1.7 6.x-1.7 Up to date
Custom Formatters 6.x-1.4 6.x-1.4 Up to date
Custom Search 6.x-1.4 6.x-1.4 Up to date
Date 6.x-2.4 6.x-2.4 Up to date
Dynamic display block 6.x-1.0-rc6 6.x-1.0-rc6 Up to date
Devel 6.x-1.21 6.x-1.21 Up to date
DHTML Menu 6.x-3.5 6.x-3.5 Up to date
Event 6.x-2.x-dev 6.x-2.x-dev Up to date
Fancy Login 6.x-1.4 6.x-1.4 Up to date
Frequently Asked Questions 6.x-1.11 6.x-1.11 Up to date
Feedback 6.x-2.1 6.x-2.1 Up to date
FileField 6.x-3.7 6.x-3.7 Up to date
Finder 6.x-1.x-dev 6.x-1.8 Up to date
Flag 6.x-2.0-beta3 6.x-2.0-beta3 Up to date
Flag Abuse 6.x-2.x-dev 6.x-2.x-dev Up to date
Flag Anonymous 6.x-1.x-dev 6.x-1.x-dev Up to date
Flag Note 6.x-2.x-dev 6.x-2.x-dev Up to date
FlashVideo 6.x-1.5 6.x-1.5 Up to date
Flatcomments 6.x-2.0 6.x-2.0 Up to date
SWF Tools 6.x-2.5 6.x-2.5 Up to date
Glossary 6.x-1.6 6.x-1.6 Up to date
Google Analytics 6.x-2.2 6.x-2.2 Up to date
Image 6.x-1.0-beta5 6.x-1.0-beta5 Up to date
ImageAPI 6.x-1.8 6.x-1.8 Up to date
ImageCache 6.x-2.0-beta10 6.x-2.0-beta10 Up to date
ImageCache Actions 6.x-1.7 6.x-1.7 Up to date
ImageField 6.x-3.7 6.x-3.7 Up to date
IMCE 6.x-1.4 6.x-1.4 Up to date
Inline Ajax Search 6.x-3.9 6.x-3.9 Up to date
Insert Block 6.x-1.x-dev 6.x-1.x-dev Up to date
iPaper 6.x-1.1 6.x-1.1 Up to date
ISBN Field 6.x-1.0-alpha2 6.x-1.0-alpha2 Up to date
jQ 6.x-1.2 6.x-1.2 Up to date
jQuery Map Hilight 6.x-1.0 6.x-1.0 Up to date
jQuery plugins 6.x-1.10 6.x-1.10 Up to date
jQuery UI 6.x-1.3 6.x-1.3 Up to date
jQuery Update 6.x-2.0-alpha1 6.x-2.0-alpha1 Up to date
LiveZilla Live Support 6.x-1.0 6.x-1.0 Up to date
Search Lucene API 6.x-2.4 6.x-2.4 Up to date
Search Lucene CCK 6.x-1.0-alpha4 6.x-1.0-alpha4 Up to date
Search Lucene Tagcloud 6.x-1.0-beta2 6.x-1.0-beta2 Up to date
Menu Breadcrumb 6.x-1.3 6.x-1.3 Up to date
Mime Mail 6.x-1.0-alpha4 6.x-1.0-alpha4 Up to date
Navigate 6.x-1.0-beta6 6.x-1.0-beta6 Up to date
Node Repeat 6.x-1.1 6.x-1.1 Up to date
Services 6.x-0.15 6.x-0.15 Up to date
Path redirect 6.x-1.0-beta6 6.x-1.0-beta6 Up to date
Pathauto 6.x-1.3 6.x-1.3 Up to date
phpfreechat 6.x-1.1 6.x-1.1 Up to date
Quote 6.x-1.1-beta2 6.x-1.1 Update available
RSVP 6.x-2.0 6.x-2.0 Up to date
Rules 6.x-1.2 6.x-1.2 Up to date
Scribd field 6.x-1.0 6.x-1.0 Up to date
Search 404 6.x-1.9 6.x-1.9 Up to date
Search Files 6.x-1.6 6.x-1.6 Up to date
Sections 6.x-1.4 6.x-1.4 Up to date
Secure Pages 6.x-1.8 6.x-1.8 Up to date
Secure Pages Hijack Prevention 6.x-1.5 6.x-1.5 Up to date
Session API 6.x-1.2 6.x-1.2 Up to date
Shadowbox 6.x-3.9 6.x-3.9 Up to date
Signatures for Forums 6.x-1.0 6.x-1.0 Up to date
Signup 6.x-1.0-rc6 6.x-1.0-rc6 Up to date
Signup Restrict by Role 6.x-1.1 6.x-1.1 Up to date
Signup Scheduler 6.x-1.x-dev 6.x-1.x-dev Up to date
Signup Status 6.x-1.0-alpha2 6.x-1.0-alpha2 Up to date
Simplenews 6.x-1.3 6.x-1.3 Up to date
Site map 6.x-1.2 6.x-1.2 Up to date
Site verification 6.x-1.0-rc1 6.x-1.0-rc1 Up to date
Skinr 6.x-1.5 6.x-1.5 Up to date
Tabs (jQuery UI tabs) 6.x-1.3 6.x-1.3 Up to date
Taxonomy Defaults 6.x-1.1-beta2 6.x-1.1-beta2 Up to date
Taxonomy hide 6.x-1.02 6.x-1.02 Up to date
Taxonomy Manager 6.x-2.2 6.x-2.2 Up to date
Taxonomy Menu 6.x-2.9 6.x-2.9 Up to date
Taxonomy Super Select 6.x-1.0 6.x-1.0 Up to date
Taxonomy VTN 6.x-1.9 6.x-1.9 Up to date
Token 6.x-1.13 6.x-1.13 Up to date
Ubercart Add Donation 6.x-1.3 6.x-1.3 Up to date
Ubercart ajax cart 6.x-2.0-beta2 6.x-2.0-beta2 Up to date
Ubercart Bulk Discount 6.x-1.0-beta1 6.x-1.0-beta1 Up to date
Ubercart Donation Products 6.x-2.0-beta3 6.x-2.0-beta3 Up to date
Ubercart Realex 6.x-2.0-beta3 6.x-2.0-beta3 Up to date
Signup Integration for Ubercart 6.x-1.0-beta5 6.x-1.0-beta5 Up to date
IE Unlimited CSS Loader 6.x-1.2 6.x-1.2 Up to date
Upload path 6.x-1.0 6.x-1.0 Up to date
User Stats 6.x-1.0-rc1 6.x-1.0-rc1 Up to date
Username originality AJAX check 6.x-1.5 6.x-1.5 Up to date
Views 6.x-2.11 6.x-2.11 Up to date
Views Custom Field 6.x-1.0 6.x-1.0 Up to date
Views Slideshow 6.x-2.3 6.x-2.3 Up to date
Views Tabs 6.x-1.0-beta1 6.x-1.0-beta1 Up to date
Web File Manager 6.x-2.12 6.x-2.12 Up to date
Webform 6.x-3.0-beta6 6.x-3.0-beta6 Up to date
Web Links 6.x-2.3 6.x-2.3 Up to date
Wysiwyg 6.x-2.1 6.x-2.1 Up to date
XML sitemap 6.x-1.2 6.x-1.2 Up to date
Zend Framework 6.x-1.x-dev 6.x-1.x-dev Up to date

Let me know if there is anything else I can tell you.

Dr Jay’s picture

"This may actually be my misunderstanding what this module does. When I selected items under "Find items by this field: ", I thought that selecting multiple fields would allow me to search in multiple values. However, if used with Conjunction, then the module requires that the keywords appear in ALL of these fields. In fact, it seems to me that the only way to accomplish this is by using multiple form elements which my client feels looks sloppy. Am I wrong about this?

danielb’s picture

I thought that selecting multiple fields would allow me to search in multiple values.

Yes it does.

However, if used with Conjunction, then the module requires that the keywords appear in ALL of these fields.

Yes, of course. That is what conjunction means.

In fact, it seems to me that the only way to accomplish this is by using multiple form elements which my client feels looks sloppy.

What? No...

I don't understand why you are selecting the conjunction option? If you don't want conjunction, don't use conjunction.

Please explain your use-case.

danielb’s picture

Are you saying you want conjunction between multiple values or delimited words, but disjunction between fields?

Dr Jay’s picture

I want users to be able to put keywords into a single text field and have that query multiple fields (Node_title, Node_body and a cck_textfield) with conjunction.

danielb’s picture

I think the problem here is possibly that you have made certain assumptions about what a keyword is, and what conjunction is. Give an example of exactly what you have done, what you expected, and why you think it didn't work.
An export of your finder, as per the instructions when posting a new issue, would also be helpful.

Dr Jay’s picture

I've switched modules (since the client doesn't want multiple, content-specific form fields, so I can't give you an export dump at this point. So I imagine this is more of a feature request rather than a support request at this point. I feel as though I should be able to have a single form field (search textfield) element that would search whatever content I select in the element's settings (for example, multiple cck fields) and be able to do a conjunction within all of these fields. Perhaps an example would be clearer:

-I have a publications page displaying output from a view (title, author, publication date, and description/body)
-The end-user (front-end) should contain a single textfield element so that it is visually indistinguishable from the default drupal search.
-The element should be set to search all four of the displayed fields using conjunction.

So take the following sample publication:
Title: Ender's Game
Author: Orson Scott Card
Published: July 15 1994
Description: Intense is the word for Ender's Game. Aliens have attacked Earth twice and almost destroyed the human species. To make sure humans win the next encounter, the world government has taken to breeding military geniuses -- and then training them in the arts of war... The early training, not surprisingly, takes the form of 'games'... Ender Wiggin is a genius among geniuses; he wins all the games... He is smart enough to know that time is running out. But is he smart enough to save the planet?

The following searches should return true:
- Ender's Game
- Ender's Game Card
- July Card
- July Intense
- etc...

danielb’s picture

Category: support » feature

OK I think the limitation is as I mentioned in #5 where setting conjunction on the element applies this to both the delimited keywords and the fields, and finder doesn't give you more control over this.
I think the design challenge for me is that you would also have to provide an option for how to nest the keywords and fields - if that is an issue ?

(Title LIKE "%Ender's%" OR Title LIKE "%Game%" OR Title LIKE "%Card%") AND (Body LIKE "%Ender's%" OR Body LIKE "%Game%" OR Body LIKE "%Card%")

(Title LIKE "%Ender's%" OR Body LIKE "%Ender's%") AND (Title LIKE "%Game%" OR Body LIKE "%Game%") AND (Title LIKE "%Card%" OR Body LIKE "%Card%")

I guess you would be after the second one, where each keyword must appear in either the title and/or body. Whereas the first one requires each field to contain at least one of the keywords.

It's difficult to get my head around the different ways things could go together, and if you swap the AND/ORs around, etc...

Chalk this up as a feature request, sorry I couldn't help.

Dr Jay’s picture

No problem - thanks for keeping it in mind - great module for what it does!

Lanae’s picture

I second this feature request...specifically this:

I guess you would be after the second one, where each keyword must appear in either the title and/or body.

codevoice’s picture

Yes, +1 on this. OP, what module did you end up using instead?

Lanae’s picture

I can't speak for the OP but I ended up going with Better Exposed Filters (BEF) and designing my own template for the Views exposed filters form. It doesn't have all the nice features that Finder has, but this issue prevents me from using Finder. If this gets fixed, I will go back to Finder.

danielb’s picture

Status: Active » Fixed

I have changed the module in a way that should fix this, but I haven't done much testing of the feature. I'll commit it to cvs and it'll appear in dev and we'll go from there.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.