Skip to content

Instantly share code, notes, and snippets.

View hferentschik's full-sized avatar

Hardy Ferentschik hferentschik

View GitHub Profile
[ERROR] my-rules:PublicMethodsMayNotExposeInternalTypes: API/SPI methods must not expose internal types.
[ERROR] method=org.hibernate.search.engine.spi.SearchFactoryImplementor#org.hibernate.search.engine.impl.FilterDef getFilterDefinition(java.lang.String)
[ERROR] method=org.hibernate.search.engine.spi.SearchFactoryImplementor#org.hibernate.search.indexes.impl.IndexManagerHolder getIndexManagerHolder()
[ERROR] method=org.hibernate.search.engine.spi.SearchFactoryImplementor#org.hibernate.search.backend.impl.batch.BatchBackend makeBatchBackend(org.hibernate.search.batchindexing.MassIndexerProgressMonitor)
[ERROR] method=org.hibernate.search.engine.spi.EntityIndexBinding#org.hibernate.search.query.collector.impl.FieldCacheCollectorFactory getIdFieldCacheCollectionFactory()
[ERROR] method=org.hibernate.search.engine.spi.DocumentBuilderIndexedEntity#org.hibernate.search.query.collector.impl.FieldCacheCollectorFactory getIdFieldCacheCollectionFactory()
[ERROR] method=org.hibernate.search.engine.spi.Abs
#!/bin/bash
# cpustatus
#
# Prints the current state of the CPU like temperature, voltage and speed.
# The temperature is reported in degrees Celsius (C) while
# the CPU speed is calculated in megahertz (MHz).
function convert_to_MHz {
let value=$1/1000
echo "$value"
@hferentschik
hferentschik / hsearch4beta2.md
Created September 29, 2011 07:50 — forked from emmanuelbernard/hsearch4beta2.md
Hibernate Search 4.0 Beta 2: no more Core mandatory dependency

Continuing our journey towards Hibernate Search 4, we have decided to add a Beta2 to the schedule.

The main feature is the full abstraction of Hibernate Search from Hibernate Core. This is especially good news for Infinispan Query users who won't have to drag Hibernate Core and its dependencies anymore. It is now also possible to write an integration between Hibernate Search and another datastore: all the contracts have been fleshed out.

If we have done our job right, you will have nothing to change in your Maven dependency declaration. 'hibernate-search' is still the main artifact to include, but it is now just a shell depending on the new 'hibernate-search-orm' module.

On a completely different note we moved the Hibernate Search documentation to [Zanata=>https://translate.jboss.org] which is a web-based system for translators to translate documentation using a web-browser. So far it was quite hard for translators to just contribute with translations. They had to checkout the source code, install the [