litphoria

message

You're not signed-in. If you're new, why don't you take a moment to read the site's intro?
View litphoria Introduction

Feedback ยท Issues with finding roleplays by traits of involved profiles (solved)

Right now the parser is unable to cope with two occurrences of with word, making a simple search like:
find roleplays with profiles with age of teenager

Spit out this error:

Parse error: expecting one or more traits, saw nothing

Which severely impairs ability to pinpoint desired roleplays. One of mentioned ways to make it better was to replace one of withs with having, though there were some concerns about introducing new keyword. I actually think quite natural way to search for would be:
find roleplays involving profiles with age of teenager

meta info

endorsement points: 0

created: 06 March 15 at 10:17 PM (build: 3/3/2015 3:09 AM beta)

closed: 20 March 15 at 01:47 AM (build: 3/20/2015 1:35 AM beta)

Wrecked Avent Site Administrator

The problem bit isn't actually the with profiles bit, it's the fact that with is used to introduce roleplay interest clauses:

find (roleplay) :: search declarer
[with (bdsm)] :: roleplay interest clause
[with profiles :: roleplay profile restrict clause
. . [into (bdsm)] :: profile interest clause
. . [with (gender) of (male)] :: profile trait clause
]

But it is actually interpreted like this:

find (roleplay) :: search declarer
[with (bdsm)] :: roleplay interest clause
[with profiles :: roleplay profile restrict clause
. . [into (bdsm)] :: profile interest clause
]
[with (gender of male)] :: roleplay interest clause

Because the with to find roleplay interest clause is ambiguous with the with in profile trait clause.

Wrecked Avent Site Administrator

So, as to say that this would not actually fix anything. The with for roleplay interest clause would simply have to be changed to something else (potentially confusing) or the with profiles syntax becomes more special-cased and consumes everything that comes after it.

Roel

I think out of two bad things getting it done in a way where clause for Interests is different is better - all search queries are quite modular, having one that is not would be... strange.

Wrecked Avent Site Administrator

With for roleplay interest searching has been changed to having.

  Got something to say? Why don't you register and participate?
Litphoria has a unique community feedback system, where the community decides what profile options are available, and what order new features are developed.

I want my voice heard! tell me more!