Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

[jira] Resolved: (LUCENE-1599) SpanRegexQuery and SpanNearQuery is not working with MultiSearcher

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


jira at apache

Jul 5, 2009, 10:18 AM

Post #1 of 1 (164 views)
Permalink
[jira] Resolved: (LUCENE-1599) SpanRegexQuery and SpanNearQuery is not working with MultiSearcher

[ https://issues.apache.org/jira/browse/LUCENE-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller resolved LUCENE-1599.
---------------------------------

Resolution: Fixed
Lucene Fields: [New, Patch Available] (was: [New])

> SpanRegexQuery and SpanNearQuery is not working with MultiSearcher
> ------------------------------------------------------------------
>
> Key: LUCENE-1599
> URL: https://issues.apache.org/jira/browse/LUCENE-1599
> Project: Lucene - Java
> Issue Type: Bug
> Components: contrib/*
> Affects Versions: 2.4.1
> Environment: lucene-core 2.4.1, lucene-regex 2.4.1
> Reporter: Billow Gao
> Assignee: Mark Miller
> Fix For: 2.9
>
> Attachments: LUCENE-1599.patch, TestSpanRegexBug.java
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> MultiSearcher is using:
> queries[i] = searchables[i].rewrite(original);
> to rewrite query and then use combine to combine them.
> But SpanRegexQuery's rewrite is different from others.
> After you call it on the same query, it always return the same rewritten queries.
> As a result, only search on the first IndexSearcher work. All others are using the first IndexSearcher's rewrite queries.
> So many terms are missing and return unexpected result.
> Billow

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe [at] lucene
For additional commands, e-mail: java-dev-help [at] lucene

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.