lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ranganath B N <ranganath....@huawei.com>
Subject SpanMultiTermQueryWrapper issue in lucene 6.6.0
Date Thu, 06 Jul 2017 10:35:39 GMT
Hi,

     Execution of the following code snippet
       "RegexpQuery  regquery= new  RegexpQuery(new Term("text", "regul.*"));
       spt2 = new SpanMultiTermQueryWrapper<RegexpQuery>(regquery);
       spt2.createWeight(searcher, true);"

throws  java.lang.IllegalArgumentException: Rewrite first!


  Can anyone suggest what is the problem with this?

Thanks,
Ranganath B. N.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message