[Grok-dev] Indexing problem
sebastian at urbantalk.se
Sun Oct 14 12:33:51 UTC 2012
14 okt 2012 kl. 11.18 skrev Lumír Jasiok:
> On the View side I have PersonSearch(grok.View) object with update method, which includes query.
> if query:
> catalog = getUtility(ICatalog)
> query = "*%s*" % (query,)
> self.results = catalog.searchResults(searchableText=query)
You can't use wildcards at the beginning of search terms. I use
to create queries. It's been very helpful.
> Second problem I have is, that I don't know how can I access catalog admin UI.
> ULR: http://localhost:8080/test/++etc++site/Catalog/@@advanced.html is not working. What is correct Catalog URL?
These views aren't available in Grok. You need to roll your own.
More information about the Grok-dev