You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2013/05/21 13:11:16 UTC

[jira] [Commented] (ISIS-383) [GSOC2013] integrate Apache Lucene with Apache Isis as a generic text search engine

    [ https://issues.apache.org/jira/browse/ISIS-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13662892#comment-13662892 ] 

Dan Haywood commented on ISIS-383:
----------------------------------

Maurizio spent a little bit of time on this...



In the attachment the very first experiment based on the  famous ToDo. 
You can search using : 
Terms. Example: Buy
Search Fields.Example category:Other
Wildcard Search. Example: B*
Regular Expression. Example: /Bu[yg]/
Lucene  provides by defalut  many other search options[1]. 


[1] http://lucene.apache.org/core/4_3_0/queryparser/org/apache/lucene/queryparser/classic/package-summary.html
                
> [GSOC2013] integrate Apache Lucene with Apache Isis as a generic text search engine
> -----------------------------------------------------------------------------------
>
>                 Key: ISIS-383
>                 URL: https://issues.apache.org/jira/browse/ISIS-383
>             Project: Isis
>          Issue Type: New Feature
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>              Labels: gsoc, gsoc2013
>         Attachments: isis-lucene.zip
>
>
> Isis is most often used with its JDO integration, a fairly conventional ORM.  Searching for existing domain objects therefore requires a query to be defined.
> But sometimes users want to just search for any object (like searching the web).  This ticket is to integrate Isis so that its domain objects can be indexed by Lucene and thus provide a generic search capability.
> One way to get hold of the text (to be indexed) might be to use the existing capability to convert all objects into JSON (by the isis-restfulobjects-rendering module). 
> It is also pretty easy to hook into Isis' objectstore to know when an object is being updated (to sync with Lucene's indexes).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira