Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

How works Search on website?

By
zbik
on 12/2/14, 1:42 PM 1,995 views

Search on website forum, shop etc.

It is a "Full text search"?
Is possible to use the + - or another operator?
... or is possible only search by phrase?

UPDATE:

  • why forum answers are not searched?
  • there are any plan to integrate with solr?

I update my question!

zbik
on 1/21/15, 2:15 PM
1

Luke Branch

--Luke Branch--
1531
| 6 7 8
Mui Wo, Lantau, Hong Kong
--Luke Branch--

...

Luke Branch
On 1/21/15, 10:08 PM

@zbik,

I've also asked a similar question on a few other threads in this forum. I'd recommend watching this project:

https://github.com/akretion/solerp

specifically the (now closed) issue here:

https://github.com/akretion/solerp/issues/3

There's a forum post here for a fork for an FTS framework in Odoo [8.0] that is discussed here:
https://www.odoo.com/forum/help-1/question/fulltext-search-fts-migrate-to-odoo-8-0-full-text-search-support-in-forum-55060

This is the fork:
https://github.com/straga/odoo-addon_fts

My forum post discussiong improved search in Odoo is here:

https://www.odoo.com/forum/help-1/question/enhanced-improved-front-end-e-commerce-cms-search-module-57233

I think either SolR, or Sphinx (search) implementations would both be workable solutions. Sphinx may be slightly easier to setup, but both have their pros and cons.

I have already spoken to a SaaS Sphinx search provider called searchanise in regards to plugging into their API for use with Odoo due to the comparitevely lower initial setup cost (ie. not starting to build it from scratch), however a completely open-source, standalone solution as it would obviously be more desireable for the majority and in the long run.

If there was enough interest I would consider putting together a funding campaign to get this project off the ground, however it would require some interest from larger parties in order to get the funding required to get the project off the ground.

In the meantime I think the FTS addon I linked to above may hold the key to putting all of these modules together in one global search for the frontend (CMS, products, forum posts, news, etc.) and eventually one global search bar for the backend (although this is a much larger undertaking and may be better handled by Odoo SA in Odoo [9.0] core).

Thx for full info. I look through suggestions.

zbik
on 1/22/15, 11:18 AM

@zbik,

it looks like a substantial amount of work has been done already on a fully-integrated search module:

https://github.com/OpenSur/Odoo_addons/tree/8.0/website_search

While I have not yet been able to get it working in 8.0 development instances (it gives a traceback due to syntax), I think it is close to handling my requirements above with a little tweaking.

I'll be doing my best to troubleshoot with the developer and will report back here once I have a working installation.

Luke Branch
on 2/9/15, 1:51 AM
1

zbik

--zbik--
5941
| 6 4 7
Lodz, Poland
--zbik--


zbik
On 12/19/14, 4:28 PM

Not only by phrase! Not only on website! Quick product search, too!
I found, probably part, of the answer. Operators

%

and

_

works (postgresql like, ilike oerators).

Search on forum today eg. by:

  • button%print = 140 results
  • button %print = 111 results
  • button % print = 87 results
  • print%button = 175 results
  • _mail_ = 1590 results

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 12/2/14, 1:42 PM
Seen: 1995 times
Last updated: 3/16/15, 8:10 AM