Questions tagged [wagtail-search]
24 questions
0
votes
0 answers
Wagtail Uploaded Document direct URL
I am trying to generate a url to an uploaded document (PDF, DOC...etc) on my search results page. Search is returning the items but there seems to be no url field. There is a file field which seems to have the file name, but I am unable to get a…

scott
- 143
- 1
- 2
- 12
0
votes
1 answer
Get Direct URL for uploads in search - Wagtail
I have customized my search to look at images and documents as part of that search. This is working fine. However I am not sure how to get the URL to the uploaded images/documents that are returned. Ideally there would be a link to download/display…

scott
- 143
- 1
- 2
- 12
0
votes
1 answer
Wagtail - Search Page Owner Full Name
I am setting up a blog style documentation site. I was using a user input field for author when a child page was created. I found out that Wagtail houses owner in the page model. In the interest of not duplicating data, I removed my author field so…

scott
- 143
- 1
- 2
- 12
0
votes
1 answer
issues while searching models in wagtail django
I'm having a bit of crisis in searching models in wagtail django
This is my code for model objects
recipes = RecipePage.objects.child_of(self).live().public() \
.select_related('listing_image')
extra_url_params = ''
…

Ali Rasheed
- 2,765
- 2
- 18
- 31
0
votes
0 answers
AttributeError: 'NoneType' object has no attribute '_meta'
I'm trying to use elastic search in my django model.
Currently, if I search with title only it works and returns correct records but when I tried to add a carparts filter it asked me to add index.FilterField('cartpart_id') which I did but now it…

Ali Rasheed
- 2,765
- 2
- 18
- 31
0
votes
2 answers
wagtail search_backend multilanguage
The wagtail docs say that PostgreSQL search is a good alternative for relative smaller websites. The docs show how to set the search backend.
WAGTAILSEARCH_BACKENDS = {
'default': {
'BACKEND': 'wagtail.contrib.postgres_search.backend',
…

Enquest
- 91
- 2
- 9
0
votes
1 answer
Wagtail how to filter pages a user has view access to via their groups
I am implementing a search function that returns pages the user has access to via their groups. Pages have these settings set via the Wagtail admin page privacy settings when editing.
For example, a page could only be visible to users in the…

Storm Heg
- 1
- 1
- 3
0
votes
0 answers
endless scrolling using wagtail elasticsearch functionality
I've implemented a webapp using wagtail and vuejs. It heavily relies on the search fuctionalities implemented in wagtail. Is it possible to implement an endless scrolling page using wagtail and its elasticsearch integration? There are references…

paweloque
- 18,466
- 26
- 80
- 136