lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mo Dje (Jira)" <j...@apache.org>
Subject [jira] [Comment Edited] (LUCENENET-647) Performance decreasement migrating from 3.0.3 to 4.8.0
Date Tue, 10 Mar 2020 10:32:00 GMT

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

Mo Dje edited comment on LUCENENET-647 at 3/10/20, 10:31 AM:
-------------------------------------------------------------

[~nightowl888], the slowness issue is for searching operation.

Here is an example of a piece of code used to do a search :

var queryBuilder = new QueryBuilder(new MyAnalyzer());

var scoreDocs = indexSearcher.Search(queryBuilder.CreateBooleanQuery(field, value), 1).ScoreDocs;

I confirm that I am using 4.8.0 beta00007.


was (Author: mo dje):
[~nightowl888], the slowness issue is for searching operation.

Here is an example of a piece of code used to do a search :

var queryBuilder = new QueryBuilder(new MyAnalyzer());

var scoreDocs = indexSearcher.Search(queryBuilder.CreateBooleanQuery(field, value), 1).ScoreDocs;

> Performance decreasement migrating from 3.0.3 to 4.8.0
> ------------------------------------------------------
>
>                 Key: LUCENENET-647
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-647
>             Project: Lucene.Net
>          Issue Type: Improvement
>         Environment: OS: Windows 10
> CPU: Intel Core i7-8700 
> RAM: 32Gb
>            Reporter: Mo Dje
>            Priority: Major
>
> Hello,
> I'm currently migrating a project, that uses Lucene.Net, from .Net Framework to .Net
Core.
> I had to migrate from 3.0.3 version of Lucene to 4.8.0 (beta0007) but I noticed performance
decreasement while measuring response time while requesting the database. The response time
using Lucene 4.8.0 is two to three times higher than 3.0.3 version.
> I read some forum topics where other users noticed this performance decreasement too.
Are you aware about that? Do you plan to do something to improve performances of Lucene 4.8.0?
> Best regards



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message