[V4MD] Search field parsing

Martin Wright martin at kinetix.co.uk
Mon Apr 3 18:04:16 CDT 2006


Just 1 field - such as:

	"camera len*" and canon or nikon

The search will be done on a DB 'text' field which has index by word selected.

Martin

> -----Original Message-----
> From: valentina-bounces at lists.macserve.net 
> [mailto:valentina-bounces at lists.macserve.net] On Behalf Of Ivan Smahin
> Sent: 03 April 2006 17:58
> To: Valentina Developers
> Subject: Re: [V4MD] Search field parsing
> 
> 
> On Apr 3, 2006, at 7:52 PM, Martin Wright wrote:
> 
> > Hi Ruslan
> >
> > Can you give me any advice on how to convert a search term into a 
> > valid SQL statement.
> > The search field may have:
> >
> > camera and lens     (AND search)
> > camera or lens       (OR search)
> > "camera lenses"     (phrase search)
> > "camera lens*"       (wildcard + phrase)
> >
> > ... And any combination of the above.
> >
> 
> So some single string-based field may contain these words?
> Or you mean two different fields?
> 
> --
> Best regards
> Ivan Smahin
> 
> 
> 
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
> 
> 





More information about the Valentina mailing list