jira-importer commented on issue #529:
URL: https://github.com/apache/maven-indexer/issues/529#issuecomment-2965147769

   **[Andreas 
Sewe](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=sewe)** 
commented
   
   > What versions of lucene accepts * as prefix? Current master uses Lucene 
5.x and it does not accept it...
   
   I am using Lucene 5.4.4 (haven’t changed that from the current master). 
After uncommenting the above `ParseException`-throwing in `indexer-core` code, 
it happily runs queries like `(#g:*.maven)`, which I build like this
   
   ```
   queryCreator.constructQuery(MAVEN.GROUP_ID, new 
SearchTypedStringSearchExpression("*.maven", SearchType.EXACT))
   ```
   
   and run using `indexer.searchIterator(...)`.
   
   That being said, the Maven Indexer still logs the following:
   
   ```
   [DEBUG] Executing unbounded search, and fitting topHitCounts to 12537, an 
OOMEx might follow. To avoid OOM use narrower queries or limit your expectancy 
with request.setCount() method where appropriate. See MINDEXER-14 for details.
   ```
   
   AFAICT, the `IteratorSearchResponse` contains all results, so that warning 
seems inappropriate; MINDEXER-14 has been marked as fixed, after all.)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to