[OFBiz] Users - Searching the catalog

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[OFBiz] Users - Searching the catalog

firas-3
Hi everybody,

I need my "Search Catalog" function to include all products in the catalog
without the use of a "Default Search Category" or the "Rollup" routine.
After reading a couple of posting on this matter I've managed to do that,
but... There is one oddity, though.

Consider this scenario:
In my keywordsearchbox.ftl I use the following search parameters:
        SEARCH_OPERATOR = AND, i.e. All words
        SEARCH_CATEGORY_ID = "" (empty string)
        query string is: notIndexedFoo

The results of this is, as expected, zero matches. Now if I add 'gizmo' to
the search string, i.e. the new search criteria is 'notIndexedFoo gizmo',
the result is all products in Gizmos category (category_id=100). And I
recieve this same result for any multi-word (indexed or not) query string
that contains the word 'gizmo'.

Any thoughts?

I took help of these two postings:
http://lists.ofbiz.org/mailman/htdig/users/2003-August/001532.html

http://lists.ofbiz.org/mailman/htdig/users/2004-April/003730.html


Thank you!

</Firas>

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Users - Searching the catalog

David E. Jones

Congratulations... It sounds like you've found the keyword override  
feature. The way you described it threw me for a loop at first,  
because you are not seeing a search result with all of the products  
in that category, you are seeing the category detail page for that  
category.

You can attach overrides like this to certain keywords for a  
ProductStore, and if you look in the Catalog Manager in the Stores  
tab and the Override tab for a the main web store you'll see that the  
word "gizmo" has an override to that category.

-David


On Aug 18, 2005, at 6:31 AM, Firas A. wrote:

> Hi everybody,
>
> I need my "Search Catalog" function to include all products in the  
> catalog
> without the use of a "Default Search Category" or the "Rollup"  
> routine.
> After reading a couple of posting on this matter I've managed to do  
> that,
> but... There is one oddity, though.
>
> Consider this scenario:
> In my keywordsearchbox.ftl I use the following search parameters:
>     SEARCH_OPERATOR = AND, i.e. All words
>     SEARCH_CATEGORY_ID = "" (empty string)
>     query string is: notIndexedFoo
>
> The results of this is, as expected, zero matches. Now if I add  
> 'gizmo' to
> the search string, i.e. the new search criteria is 'notIndexedFoo  
> gizmo',
> the result is all products in Gizmos category (category_id=100). And I
> recieve this same result for any multi-word (indexed or not) query  
> string
> that contains the word 'gizmo'.
>
> Any thoughts?
>
> I took help of these two postings:
> http://lists.ofbiz.org/mailman/htdig/users/2003-August/001532.html
>
> http://lists.ofbiz.org/mailman/htdig/users/2004-April/003730.html
>
>
> Thank you!
>
> </Firas>
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

smime.p7s (3K) Download Attachment