Basically I do have pretty simple database that I'd like to index with Lucene.
Domains are:
// Person domain
class Person {
Set<Pair> keys;
}
// Pair domain
class Pair {
KeyItem keyItem;
String value;
}
// KeyItem domain, name is unique field within the DB (!!)
class KeyItem{
String name;
}
I've tens of millions of profiles ...
To improve stemming we want to switch from the default analyzer to snowball, however, having a lot of difficulty with the proper settings and would appreciate any help. In
Environment:
- Sun's Java 1.6.16
- Grails 1.2.2
- Searchable Plug-In 0.5.5
Config.groovy:
Have tried both settings:
compassSettings = ['compass.engine.analyze...
I need to build compass for my application.
From reading the documentation it seems there are two reasonable ways of doing this:
Sensor.TYPE_ORIENTATION method: This is the easy way of doing it. The problem with this is it is not accurate. When I compare my reading with Snaptic Compass it is about 10-15 degress off which for my purpo...
I looked over SensorManager and was still unsure, how do I detect if the phone is looking at true north (or any other direction for that matter).
...
Hi, I use the heading value (return by the locationManager:didUpdateHeading:) but when the iphone is tilted this value sometimes change (from 5 to 50 degrees).
Is someone faced the same problem?
Is there a solution or is the magnetometer not enough accurate to give me more precise values?
...
Recent convert to RoR and I've been using Compass w/ Blueprint to dip into the proverbial pool. Compass has been fantastic, but I've come across something strange within the Typography library.
The blueprint-typography-body mixin contains the following:
=blueprint-typography-body($font-size: $blueprint-font-size)
line-height: 1.5
+...
Hi
I need to display a small compass over the mapview.
Is there a standard way of achieving this? It obv needs to update as the direction the phone is pointed in changes.
w://
...
I've been studying compass and while it is a fun thing to play with and use, one thing bothers me(besides being unable to add padding as it wrecks the grid), how do I nest columns?
I want to be able to do what blueprint does: nest containers like say, I have a 24-column page divided in two(17 and 7 columns). In the right part of that pa...
I'm trying to add NGram token filter (from Lucene contrib) into my Compass configuration. Following Compass documentation i'm tries with:
<searchEngine>
<analyzer name="ngram" type="Simple" filters="ngram-filter"/>
<analyzerFilter name="ngram-filter" type="org.apache.lucene.analysis.ngram.NGramTokenFilter">
</analyzerFilte...
I've got some experience using haml (+sass) on rails projects. I recently started using them with blueprintcss - the only thing I did was transform blueprint.css into a sass file, and started coding from there. I even have a rails generator that includes all this by default.
It seems that Compass does what I do, and other things. I'm tr...
I am trying to integrate compass into my platform using the JDBC ResultSetToResourceMapping. What I want to do is set it up so that I could have multiple result set mappings, tied to one Resource, that produces one result, with one score, and a merged score. I have tried to trick Compass into doing this by mapping the same id across th...
Using sass, how do you style
#box1 img, #anotherbox img { height: 80px }
? Is using mixins the only way?
...
Hi,
I have played about with the tutorial and Compass itself for a bit now. I have just started to ramp up the use of it and have found that the performance slows drastically. I am certain that this is due to my mappings and the relationships that I have between entities and was looking for suggestions about how this should be best done...
Is there any ready made class/formula somewhere I can use it for control my viewpoint by accelerometer's/compass's XYZ?
I want to achieve the same view control like acrossair uses.
I have the parts (OpenGL space, filtered accel-, compass values, and a cubic panoramic view mapped to a cube around my origin).
Can somebody suggest me whe...
From my understanding, Compass only works with Ruby. Is there a PHP equivalent to Compass?
...
I have an Object which as a HashMap. I use a Converter to iterate over the properties of the HashMap.
In my .cpm.xml file, I define the property as follows:
<property name="properties" exclude-from-all="yes" converter="excludeFromAllConverter"/>
but it seems like all the fields I include in my converter are added to the "all" pr...
I've been using compass from http://compass-style.org/ to manage my sites css for a long time. I just installed the newest version and I get a rather unpleasant error, that has as a side effect corrupted all my css files. How do I downgrade to an older version of this?
Thanks,
Matt
...
Currently, Compass is watching the .scss files inside the src folder and automatically updating the cs files. (by typing compass watch myproject).
Is there any way of including haml files in the "watching process"?
(I couldn't install StaticMatic because I don't want to install Ruby1.8).
...
This is a theoretical question as much as a practical one. I just can't wrap my head around how all these technologies mesh...
I have heard various things including:
"HAML and SASS are included in Merb"
"SASS is part of HAML"
"HAML works in Merb, but to use SASS you need to add the 'merb-haml' dependency"(?)
"You need Compass to run ...
I have an accelerometer and magnetometer each producing raw X, Y and Z readouts. From this I need to determine the magnetic heading of an object.
I'm not that great at trig, but I've put together a formula that does respond pretty well to the rotation of the device, but also responds to movement that one would not think is relevant, suc...