Coalescing shoot ID in search. Added stop words for common TLDs. Sorting tags in search results.

This commit is contained in:
ThePendulum 2020-03-02 04:15:47 +01:00
parent 3586d5c745
commit 15af3e91e0
4 changed files with 25 additions and 5 deletions

View File

@ -63,7 +63,7 @@ function initReleasesActions(store, _router) {
name name
} }
} }
tags: releasesTags { tags: releasesTags(orderBy: TAG_BY_TAG_ID__PRIORITY_DESC) {
tag { tag {
id id
name name

View File

@ -137,6 +137,7 @@ const tags = [
name: 'ass eating', name: 'ass eating',
slug: 'ass-eating', slug: 'ass-eating',
group: 'oral', group: 'oral',
priority: 6,
}, },
{ {
name: 'ball licking', name: 'ball licking',
@ -195,7 +196,7 @@ const tags = [
{ {
name: 'blowjob', name: 'blowjob',
slug: 'blowjob', slug: 'blowjob',
priority: 7, priority: 5,
group: 'oral', group: 'oral',
}, },
{ {
@ -298,7 +299,7 @@ const tags = [
{ {
name: 'deepthroat', name: 'deepthroat',
slug: 'deepthroat', slug: 'deepthroat',
priority: 7, priority: 6,
group: 'oral', group: 'oral',
}, },
{ {
@ -422,6 +423,7 @@ const tags = [
{ {
name: 'gaping', name: 'gaping',
slug: 'gaping', slug: 'gaping',
priority: 7,
}, },
{ {
name: 'gay', name: 'gay',
@ -461,7 +463,7 @@ const tags = [
{ {
name: 'interracial', name: 'interracial',
slug: 'interracial', slug: 'interracial',
priority: 9, priority: 7,
group: 'ethnicity', group: 'ethnicity',
}, },
{ {
@ -713,6 +715,7 @@ const tags = [
name: 'swallowing', name: 'swallowing',
slug: 'swallowing', slug: 'swallowing',
group: 'finish', group: 'finish',
priority: 6,
}, },
{ {
name: 'tattoo', name: 'tattoo',
@ -849,6 +852,10 @@ const aliases = [
name: 'ass licking', name: 'ass licking',
for: 'ass-eating', for: 'ass-eating',
}, },
{
name: 'asslicking',
for: 'ass-eating',
},
{ {
name: 'ass fucking', name: 'ass fucking',
for: 'anal', for: 'anal',
@ -858,6 +865,11 @@ const aliases = [
for: 'ass-to-mouth', for: 'ass-to-mouth',
secondary: true, secondary: true,
}, },
{
name: 'a2m',
for: 'ass-to-mouth',
secondary: true,
},
{ {
name: 'bald pussy', name: 'bald pussy',
for: 'shaved', for: 'shaved',
@ -1432,6 +1444,10 @@ const aliases = [
for: 'mfm', for: 'mfm',
secondary: true, secondary: true,
}, },
{
name: 'sex toy',
for: 'toys',
},
{ {
name: 'standing doggystyle', name: 'standing doggystyle',
for: 'standing-doggy-style', for: 'standing-doggy-style',
@ -1463,6 +1479,7 @@ const aliases = [
{ {
name: 'tattoos', name: 'tattoos',
for: 'tattoo', for: 'tattoo',
secondary: true,
}, },
{ {
name: 'teens', name: 'teens',

View File

@ -382,7 +382,7 @@ async function updateReleasesSearch(releaseIds) {
sites.slug || ' ' || sites.slug || ' ' ||
networks.name || ' ' || networks.name || ' ' ||
networks.slug || ' ' || networks.slug || ' ' ||
releases.shoot_id || ' ' || coalesce(releases.shoot_id, '') || ' ' ||
EXTRACT(YEAR FROM releases.date) || ' ' || EXTRACT(YEAR FROM releases.date) || ' ' ||
CAST(EXTRACT(MONTH FROM releases.date) AS VARCHAR) || ' ' || CAST(EXTRACT(MONTH FROM releases.date) AS VARCHAR) || ' ' ||
CAST(EXTRACT(DAY FROM releases.date) AS VARCHAR) || ' ' || CAST(EXTRACT(DAY FROM releases.date) AS VARCHAR) || ' ' ||

View File

@ -133,6 +133,7 @@ now
540p 540p
720p 720p
avi avi
com
gagvid gagvid
h264 h264
hd hd
@ -141,6 +142,7 @@ ktr
mkv mkv
mov mov
mp4 mp4
net
rarbg rarbg
rartv rartv
robots robots
@ -149,6 +151,7 @@ sd
split split
tbs tbs
trashbin trashbin
tv
web web
webrip webrip
wmv wmv