Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6778111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:13:41+00:00 2026-05-26T16:13:41+00:00

I want to do a search in the content repository using one or more

  • 0

I want to do a search in the content repository using one or more of the values as an input parameter for a multivalue property
Something like: find all nodes with the primary type ‘nt:unstructured’ whose property ‘multiprop’ (multivalue property) contains both values “one” and “two”.

How would the queryString passed to queryManager.createQuery should loook like?

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T16:13:42+00:00Added an answer on May 26, 2026 at 4:13 pm

    You can treat the criteria on multi-valued properties just like other criteria. For example, the following query will find all nodes that have a value of ‘white dog’ on the ‘someProp’ property:

    SELECT * FROM [nt:unstructured] WHERE someProp = 'white dog'
    

    If the ‘someProp’ property has multiple values, then a node with at least one value that satisfies the criteria will be included in the results.

    To find nodes that have multiple values of a multi-valued property, simply AND together multiple criteria. For example, the following query will return all nodes that have both of the specified values:

    SELECT * FROM [nt:unstructured] WHERE someProp = 'white dog' 
                                      AND someProp = 'black dog'
    

    Any of the operators will work, including ‘LIKE’:

    SELECT * FROM [nt:unstructured] WHERE someProp LIKE '%white%'  
                                      AND someProp LIKE '%black%'
    

    Other combinations are possible, of course.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to search a table to find all rows where one particular field
I want to search content from a site using WWW::Mechanize but to be able
I want to search by content on a property in an entity I have
I want to search for text 'law' in MySQL colum 'content(colume_name)' that has value
I want to use ElasticSearch to search filenames (not the file's content). Therefore I
I want to search specific string from div and find out whole(full) string I.e
I'm attempting to search for content between 2 whole words using a regular expression.
I want to do a content search in my database. And the requirement is
want to open a large text file and then search the content of it.
I have a text area with HTML content,now i want to search there for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.