Hi DW,
We've implemented a solution with multiple productfilters and one of the filters is a Free text search.
My problem is that when i use the text search i get very different results depending on how i search.
I have product numbers like this:
RF1000
RF10001
RF10002
If i search for "RF10001" i get one product.
If i search for "RF1000", i again only get one result, the product RF1000, the other 2 products that also match my search are not shown (RF10001 and RF10002).
I know i can add * to my search, but i dont want the users to do that. Freetext is freetext after all.
Is there some check in the search that stops further search if a product with exact product number is found?
Can we get a description of how the search works?
Regards
Martin
Developer forum
E-mail notifications
Description of how filter searching works
Martin Nielsen
Posted on 28/06/2011 11:25:39
Replies
Pavel Volgarev
Posted on 28/06/2011 11:29:55
Hi Martin,
Yes, there is a check. Search is usually narrowed as much as possible.
-- Pavel
Yes, there is a check. Search is usually narrowed as much as possible.
-- Pavel
Martin Nielsen
Posted on 28/06/2011 11:45:58
Hi Pavel,
As you can see from my example, this narrowing of the search has some bothersome effects on the result, since it removes 2 perfectly good results, which IMO should be in the result aswell.
Can the check be disabled?
/Martin
As you can see from my example, this narrowing of the search has some bothersome effects on the result, since it removes 2 perfectly good results, which IMO should be in the result aswell.
Can the check be disabled?
/Martin
Pavel Volgarev
Posted on 28/06/2011 12:07:45
Hi Martin,
No, the check cannot be disabled but it's definitely an improvement on a free text search filter. I've added a new task (#6723) to our product backlog.
-- Pavel
No, the check cannot be disabled but it's definitely an improvement on a free text search filter. I've added a new task (#6723) to our product backlog.
-- Pavel
Martin Nielsen
Posted on 28/06/2011 13:21:05
Does the freetext search look in all indexed fields, or is it limited to product number and text?
/Martin
Pavel Volgarev
Posted on 28/06/2011 13:27:07
Hi Martin,
There is a special field that contains values from all fields for the given index entry. Free text search filter uses this field.
-- Pavel
There is a special field that contains values from all fields for the given index entry. Free text search filter uses this field.
-- Pavel
Steen Nørgaard Perdersen
Posted on 28/06/2011 13:54:07
Why not add * to the freetext search field value just before submitting using javascript? Quickfix i know, but nonetheless...
Martin Nielsen
Posted on 28/06/2011 14:31:55
Hi Steen,
That will probably be the end of it. But it was not my first choice, if there was a checkbox somewhere :-)
/Martin
That will probably be the end of it. But it was not my first choice, if there was a checkbox somewhere :-)
/Martin
You must be logged in to post in the forum