Accessing User class in Smart Search lucene syntax

Bryan Johnson asked on April 19, 2016 01:08

I would like to weight my search results within the "Search condition" setting of a smart search web part. I have had success referencing page types using lucene syntax like this: +(classname:cms.MenuItem)^2

How do I do the same to refer to the User class within the membership module? I tried the following, but the class was not recognized: +(classname:cms.user)^2

Any ideas?

Correct Answer

Laura Frese answered on April 19, 2016 03:37

How about +(_type:cms.user)^2

1 votesVote for this answer Unmark Correct answer

Recent Answers


Bryan Johnson answered on April 19, 2016 23:27

Yes. That works. Thanks, Laura.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.