JAVA search service & fts
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2015 04:15 PM
Hi,
I'm using JAVA searchServices API to perform some fts search in repository.
I'd like to get from the resultSet the matching word/phrase found by SOLR.
eg: search for "A WOR" and return "A WORD" (if found in a document).
Is this possible ?
thanks,
vincent
I'm using JAVA searchServices API to perform some fts search in repository.
I'd like to get from the resultSet the matching word/phrase found by SOLR.
eg: search for "A WOR" and return "A WORD" (if found in a document).
Is this possible ?
thanks,
vincent
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2015 05:06 PM
another (better) way to express my question: how to extract content / metadata using solr ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-26-2015 06:29 AM
Sorry don't understand your clarification. To answer your first question your search can either be a textual search or a tokenized search.
So A WOR matching A WORD must be a text search - because it won't match through tokens. So it will be something like =A WOR*
http://docs.alfresco.com/4.0/concepts/rm-searchsyntax-exact.html
So A WOR matching A WORD must be a text search - because it won't match through tokens. So it will be something like =A WOR*
http://docs.alfresco.com/4.0/concepts/rm-searchsyntax-exact.html
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2015 04:31 AM
OK. What i'm trying to do is to extract the matching word/phrase/token found by solr.
I found an example here (https://lucidworks.com/blog/poor-mans-entity-extraction-with-solr/) but not in alfresco context.
For example, I search for "CLIENT:?????" in content file, and I expect solr to return "CLIENT:CNAME" word.
Is it possible ?
Vincent
I found an example here (https://lucidworks.com/blog/poor-mans-entity-extraction-with-solr/) but not in alfresco context.
For example, I search for "CLIENT:?????" in content file, and I expect solr to return "CLIENT:CNAME" word.
Is it possible ?
Vincent