Re: Having a default constructor in Analyzers

2010-02-08 Thread Sanne Grinovero
2010/2/8 Robert Muir rcm...@gmail.com: 8 snip 8 how would this work when the Query analyzer differs from the Index analyzer? For example, using commongrams in solr means you use a different Query analyzer from Index analyzer, and there are some other use cases even in solr (synonyms

Re: Having a default constructor in Analyzers

2010-02-08 Thread Simon Willnauer
On Mon, Feb 8, 2010 at 9:31 AM, Sanne Grinovero sanne.grinov...@gmail.com wrote: 2010/2/8 Robert Muir rcm...@gmail.com: 8 snip 8 how would this work when the Query analyzer differs from the Index analyzer? For example, using commongrams in solr means you use a different Query

RE: Having a default constructor in Analyzers

2010-02-08 Thread Uwe Schindler
Simon: Sanne, I would recommend you building a Factory pattern around you Analyzers / TokenStreams similar to what solr does. That way you can load you own default ctor interface via reflection and obtain you analyzers from those factories. That makes more sense anyway as you only load the

Re: Having a default constructor in Analyzers

2010-02-08 Thread Sanne Grinovero
Hi Uwe, yes Hibernate is definitely recommending the Solr way for normal and power users, but we're also taking care of beginners trying it out for the first time it should just work out of the box for a simple POC, in those cases an Analyzer is defined as global analyzer (used for all cases

[jira] Updated: (LUCENE-2248) Tests using Version.LUCENE_CURRENT will produce problems in backwards branch, when development for 3.2 starts

2010-02-08 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2248: -- Attachment: LUCENE-2248.patch Here the patch for all core tests. I also did a eclipse import

[jira] Updated: (LUCENE-2248) Tests using Version.LUCENE_CURRENT will produce problems in backwards branch, when development for 3.2 starts

2010-02-08 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2248: -- Attachment: LUCENE-2248.patch Updated patch, I missed some LUCENE_CURRENT occurences. Now all

[jira] Updated: (LUCENE-1934) Rework (Float)LatLng implementation and distance calculation

2010-02-08 Thread Nicolas Helleringer (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Helleringer updated LUCENE-1934: Lucene Fields: [Patch Available] (was: [New]) Rework (Float)LatLng

[jira] Created: (LUCENE-2254) Support more queries (other than just title) in Trec quality pkg

2010-02-08 Thread Robert Muir (JIRA)
Support more queries (other than just title) in Trec quality pkg Key: LUCENE-2254 URL: https://issues.apache.org/jira/browse/LUCENE-2254 Project: Lucene - Java Issue Type:

[jira] Updated: (LUCENE-2254) Support more queries (other than just title) in Trec quality pkg

2010-02-08 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-2254: Attachment: LUCENE-2254.patch Support more queries (other than just title) in Trec quality pkg

[jira] Updated: (LUCENE-2255) IndexWriter.getReader() allocates file handles

2010-02-08 Thread Mikkel Kamstrup Erlandsen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikkel Kamstrup Erlandsen updated LUCENE-2255: -- Attachment: LuceneManyCommits.java Leaks file handles via

[jira] Created: (LUCENE-2255) IndexWriter.getReader() allocates file handles

2010-02-08 Thread Mikkel Kamstrup Erlandsen (JIRA)
IndexWriter.getReader() allocates file handles -- Key: LUCENE-2255 URL: https://issues.apache.org/jira/browse/LUCENE-2255 Project: Lucene - Java Issue Type: Bug Components: Index

[jira] Commented: (LUCENE-2255) IndexWriter.getReader() allocates file handles

2010-02-08 Thread Jason Rutherglen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12831095#action_12831095 ] Jason Rutherglen commented on LUCENE-2255: -- You're not the first to report

[jira] Commented: (LUCENE-2255) IndexWriter.getReader() allocates file handles

2010-02-08 Thread Simon Willnauer (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12831107#action_12831107 ] Simon Willnauer commented on LUCENE-2255: - I see this coming up multiple times, we

[jira] Commented: (LUCENE-2255) IndexWriter.getReader() allocates file handles

2010-02-08 Thread Jason Rutherglen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12831116#action_12831116 ] Jason Rutherglen commented on LUCENE-2255: -- bq. What keeps you from attaching a

[jira] Created: (LUCENE-2256) Fuzzy search result ranking

2010-02-08 Thread Mike Cawson (JIRA)
Fuzzy search result ranking --- Key: LUCENE-2256 URL: https://issues.apache.org/jira/browse/LUCENE-2256 Project: Lucene - Java Issue Type: Improvement Components: Search Affects Versions: 3.0

[jira] Commented: (LUCENE-2255) IndexWriter.getReader() allocates file handles

2010-02-08 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12831124#action_12831124 ] Michael McCandless commented on LUCENE-2255: This has already been fixed on

[jira] Resolved: (LUCENE-2255) IndexWriter.getReader() allocates file handles

2010-02-08 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-2255. Resolution: Fixed Fix Version/s: 3.1 3.0.1

[jira] Updated: (LUCENE-725) NovelAnalyzer - wraps your choice of Lucene Analyzer and filters out all boilerplate text

2010-02-08 Thread Mark Harwood (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Harwood updated LUCENE-725: Attachment: NovelAnalyzer.java Updated for new 3.0 APIs NovelAnalyzer - wraps your choice of