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
}
}
tags: releasesTags {
tags: releasesTags(orderBy: TAG_BY_TAG_ID__PRIORITY_DESC) {
tag {
id
name

View File

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

View File

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

View File

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