https://github.com/apache/ignite/blob/2fbbb676386515ea881e4e61f08864d6bc93225a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GridLuceneIndex.java#L115
It looks like Standard Analyzer is being used for now.
Are there any plans to allow the Lucene analyzer to be switched in the config file in the future?
Thanks.
As of 2020, text indexing in Apache Ignite is not under active development. I think it would make more sense to have your own Lucene index on the side.
Related
I want to upgrade my Alfresco server to 5.2 and in all my custom webscripts am using lucene queries. Since from Alfresco 5.x lucene indexing has been removed and solr indexing is not instantaneous, am planing to use fts_alfresco search. While testing i found that few lucene queries can be used for fts_alfresco search without modifying. So my concern is will i be able to do fts_alfresco search using lucene query? If no, is there any better way to migrate all my lucene queries to fts_alfresco?
Thanks in advance.
You will need to test/check your queries since there are small differences (for instance, date range query is not the same), but in general there's no reason why you would not be able to use FTS.
I'm not sure a comprehensive documentation exists where you would see all those small differences, though. If you find it, please share.
"Alfresco FTS is compatible with most, if not all of the examples here.."
https://community.alfresco.com/docs/DOC-4673-search
I am using hibernate-core and hibernate-search. Like I can take a look to the persisted entities with hibernate-core using some database-frontend, I need a frontend for hibernate-search/lucene to take a look at the lucene index.
I tried the latest luke, but it is alpha and does not work correctly for me.
Solr seems to have some web-frontends. But it is an alternative to hibernate-search, and it is hard to integrate with, if I understand everything I read correctly.
My wish is to see, what terms are indexed for specific entites (and its relations).
Any ideas? TIA!
You could try the Hibernate Search Eclipse plugin:
https://marketplace.eclipse.org/content/hibernate-search-plugin
Introduced first on the Hibernate Search blog.
I am using grails searchable plugin. It creates index files on a given location. Is there any way in searchable plugin to create Lucene index in a database?
Generally, no.
You can probably attempt to implement your own format but this would require a lot of effort.
I am no expert in Lucene, but I know that it is optimized to offer fast search over the filesystem. So it would be theoretically possible to build a Lucene index over the database, but the main feature of lucene (being a VERY fast search engine) would be lost.
As a point of interest, Compass supported storage of a Lucene index in a database, using a JdbcDirectory. This was, as far as I can figure, just a bad idea.
Compass, by the way, is now defunct, having been replaced by ElasticSearch.
I have a system that uses lucene. Now for a few reasons I would like to add a distributed search feature over it.
The question is can I use the existing lucene index created by the IndexWriter of lucene, for searching with elastic search or should I create a new index using ES's IndexWriter.
P.S I discovered over the web that this is possible with solr, but afaik couldn't find anything tangible for es. Any help would be appreciated.
You need to reindex into ElasticSearch, you can't reuse an existing Lucene index.
I'm looking for some info so that users can find local results in their Lucene.Net searches.
I would index the latitude/longitude of the location in the document, and query Lucene based on the users position and 20 (or 30, 40...) mile range.
The utmost on local search in Lucene is Grant Ingersoll's Location-aware search with Apache Lucene and Solr. Trouble is that Lucene.net lags after Java Lucene, so that these Lucene features available with the rather new Lucene 2.9.0 will take a while to trickle into Lucene.net (Lucene.net 2.4.0 came about a year after Java Lucene's 2.4.0). In the meantime,
try Spatial.net in Lucene.net's contrib, or you can try to port Sujit Pal's suggestions from Java to C#.