[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Possible search bug in 3.12beta13 (and earlier)
****** message to minivend-users from Frank Miedreich <miedreich@acm.org> ******
>****** message to minivend-users from Matthew.Rice@ftlsol.com ******
>
>Frank Miedreich writes:
>> If you want data from another arbitrary database you will have to use:
>> [item-data database fieldname]
>
>Thanks Frank, you've renewed my faith in minivend. This works as
>advertised.
>
>I still have one small problem. When doing my search (say for CategoryB)
>in a file that contains the category column with the data:
>
>CategoryB
>CategoryB:SubCategoryA
>CategoryBSubCategoryC
>
>The search [area scan
> sf=category
> fi=partcat
> sp=catwalk
> se=CategoryB]
>
>will, understandably (depending on what is considered a word boundary),
>return 'CategoryB' and 'CategoryB:SubCategoryA'.
>
>Unfortunately, trying to get an exact match (with em=yes) doesn't
>affect the search results. And after, re-reading the em and mv_searchspec
>documentation, I'm not too surprised.
>
>So my question is, "Is there a way to get the search to only succeed
>if the searchspec matches the entire category field?"
>
>This isn't a critical question, BTW, the work around is to just remove
>the ':'s from the category.
>
>Thanks again,
You may be able to use one of the following:
^CategoryB$
\ACategoryB\Z
although I doubt this will work in a link
Personally I usually put the category and subcategory into separate fields.
It is more convenient for searching and access. YMMV.
Cheers, Frank
--
Frank Miedreich
Max-Planck-Institut fuer psychologische Forschung
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list