Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend SELECT grammer to allow selecting "path" and "score" #84

Open
dantleech opened this issue Aug 15, 2014 · 2 comments
Open

Extend SELECT grammer to allow selecting "path" and "score" #84

dantleech opened this issue Aug 15, 2014 · 2 comments

Comments

@dantleech
Copy link
Member

In the shell it would be very beneficial to be able to display all the fields contained in a query result.

For example:

SELECT path(), score(), title FROM [nt:unstructured] WHERE CONTAINS(*, '*foo*';

Currently the path is shown all the time and the score cannot be accessed.

@dantleech
Copy link
Member Author

JBoss does this:

When using this query language, the QueryResult always contains the "jcr:path" and "jcr:score" columns.

http://docs.jboss.org/jbossdna/0.7/manuals/reference/html/jcr-query-and-search.html#fulltext-search-expressions

@dantleech
Copy link
Member Author

See also: jackalope/jackalope#240

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant