[
https://issues.apache.org/jira/browse/CLEREZZA-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021564#comment-13021564
]
Tsuyoshi Ito commented on CLEREZZA-388:
---------------------------------------
I am not sure: Probably because of inline functions within functions.
Additionally inline functions in scala makes it difficult for me to
understand/read the code of CRIS (Alle functions are defined and executed
within in the constructor)
new IndexSearcher(index, true) opens at least one new file (and it will never
be closed) => after a few searches within 300'000 triples a "too many files
open" exception occurs. I never had this problems bevor with tdb (constantly
about 600 files open).
IMO if IndexSearcher and IndexWriter would be available once per lucene
directory (as service?) I think we could reduce the number of files resp. keep
it constant.
> Composite Resource Index Service
> --------------------------------
>
> Key: CLEREZZA-388
> URL: https://issues.apache.org/jira/browse/CLEREZZA-388
> Project: Clerezza
> Issue Type: New Feature
> Reporter: Reto Bachmann-Gmür
> Assignee: Hasan
> Attachments: CLEREZZA-388-genericcondition-patch.diff,
> GenericCondition.java, GraphIndexer.scala, ResourceFinder.scala
>
>
> A service shall monitor a graph for resource of a specific typed and provide
> composite indexes on specified properties. It shall support searching by
> exact value, by range as well as full-text search. This service shall make it
> possible to provide fast faceted searches.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira