You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Jeff Johnson (JIRA)" <ji...@apache.org> on 2009/09/04 21:48:57 UTC
[jira] Created: (LUCENENET-192) Latest SVN build is about twice as
slow running queries when compared to Java Lucene
Latest SVN build is about twice as slow running queries when compared to Java Lucene
------------------------------------------------------------------------------------
Key: LUCENENET-192
URL: https://issues.apache.org/jira/browse/LUCENENET-192
Project: Lucene.Net
Issue Type: Improvement
Environment: Visual Studio 2008 with .NET framework 3.5
Reporter: Jeff Johnson
Priority: Minor
I have been using the java luke tool for comparing query times with java vs C# and the java query time is consistantly about twice as fast as the C# query time. The index I am testing was built in C# and contains 10 million documents. I have made sure to "warm up" the index by running the same query a few times before timing it again.
One example: Querying for a term that exists in every document takes about 1.3 seconds in C# and 0.6 seconds in java. The total size of my index directory is about 1 GB.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (LUCENENET-192) Latest SVN build is about twice
as slow running queries when compared to Java Lucene
Posted by "Digy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENENET-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752712#action_12752712 ]
Digy commented on LUCENENET-192:
--------------------------------
Search time wouldn't change. Most time consuming operation is gathering the results.
DIGY
> Latest SVN build is about twice as slow running queries when compared to Java Lucene
> ------------------------------------------------------------------------------------
>
> Key: LUCENENET-192
> URL: https://issues.apache.org/jira/browse/LUCENENET-192
> Project: Lucene.Net
> Issue Type: Improvement
> Environment: Visual Studio 2008 with .NET framework 3.5
> Reporter: Jeff Johnson
> Priority: Minor
>
> I have been using the java luke tool for comparing query times with java vs C# and the java query time is consistantly about twice as fast as the C# query time. The index I am testing was built in C# and contains 10 million documents. I have made sure to "warm up" the index by running the same query a few times before timing it again.
> One example: Querying for a term that exists in every document takes about 1.3 seconds in C# and 0.6 seconds in java. The total size of my index directory is about 1 GB.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (LUCENENET-192) Latest SVN build is about twice
as slow running queries when compared to Java Lucene
Posted by "Jeff Johnson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENENET-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752706#action_12752706 ]
Jeff Johnson commented on LUCENENET-192:
----------------------------------------
What about if you get 10M hits?
> Latest SVN build is about twice as slow running queries when compared to Java Lucene
> ------------------------------------------------------------------------------------
>
> Key: LUCENENET-192
> URL: https://issues.apache.org/jira/browse/LUCENENET-192
> Project: Lucene.Net
> Issue Type: Improvement
> Environment: Visual Studio 2008 with .NET framework 3.5
> Reporter: Jeff Johnson
> Priority: Minor
>
> I have been using the java luke tool for comparing query times with java vs C# and the java query time is consistantly about twice as fast as the C# query time. The index I am testing was built in C# and contains 10 million documents. I have made sure to "warm up" the index by running the same query a few times before timing it again.
> One example: Querying for a term that exists in every document takes about 1.3 seconds in C# and 0.6 seconds in java. The total size of my index directory is about 1 GB.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (LUCENENET-192) Latest SVN build is about twice as
slow running queries when compared to Java Lucene
Posted by "Digy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENENET-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Digy closed LUCENENET-192.
--------------------------
Resolution: Invalid
Assignee: Digy
Hi Jeff,
I will close this issue, since I think it is related with how and how many results you are gathering.
If you are sure, don't hasitate to reopen it.
DIGY
> Latest SVN build is about twice as slow running queries when compared to Java Lucene
> ------------------------------------------------------------------------------------
>
> Key: LUCENENET-192
> URL: https://issues.apache.org/jira/browse/LUCENENET-192
> Project: Lucene.Net
> Issue Type: Improvement
> Environment: Visual Studio 2008 with .NET framework 3.5
> Reporter: Jeff Johnson
> Assignee: Digy
> Priority: Minor
>
> I have been using the java luke tool for comparing query times with java vs C# and the java query time is consistantly about twice as fast as the C# query time. The index I am testing was built in C# and contains 10 million documents. I have made sure to "warm up" the index by running the same query a few times before timing it again.
> One example: Querying for a term that exists in every document takes about 1.3 seconds in C# and 0.6 seconds in java. The total size of my index directory is about 1 GB.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (LUCENENET-192) Latest SVN build is about twice
as slow running queries when compared to Java Lucene
Posted by "Digy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENENET-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752702#action_12752702 ]
Digy commented on LUCENENET-192:
--------------------------------
With 10M docs and 350K hits, I get almost similar results.
DIGY
> Latest SVN build is about twice as slow running queries when compared to Java Lucene
> ------------------------------------------------------------------------------------
>
> Key: LUCENENET-192
> URL: https://issues.apache.org/jira/browse/LUCENENET-192
> Project: Lucene.Net
> Issue Type: Improvement
> Environment: Visual Studio 2008 with .NET framework 3.5
> Reporter: Jeff Johnson
> Priority: Minor
>
> I have been using the java luke tool for comparing query times with java vs C# and the java query time is consistantly about twice as fast as the C# query time. The index I am testing was built in C# and contains 10 million documents. I have made sure to "warm up" the index by running the same query a few times before timing it again.
> One example: Querying for a term that exists in every document takes about 1.3 seconds in C# and 0.6 seconds in java. The total size of my index directory is about 1 GB.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.