compass

Compass Search Annotations cause compiler errors

I'm trying to use the @Searchable annotations from the Compass search engine in my Java program, but I receive a compile-time error: "type mismatch: cannot convert Searchable to Annotation". I have included all of the jar files that I can think of, and scoured the web for working examples to no avail. Does anyone have a working example...

Configuring Compass with Annotated Hibernate

I'm using Hibernate for a Java-based Web Application and want to add full-text search via Compass. Compass is supposed to support that, but fails to provide any useful Getting Started guide. I could figure out that I have to annotate my Entities with @Searchable and the various @SearchableXXX variations and accessing Compass in my servi...

How to Indexing and searching business entities using Lucene.Net?

I would like to know how to use Lucene.NET for indexing and searching my business entities. I see NHibernate.Search has nice features for this issue, but it still needs DB. I don't need DB, I only want to store all data in my Lucene.NET's index. I also see java framework like Compass can do that stuff easily, but it's not .NET library. ...

How do I store the lucene index in a database?

This is my sample code: MysqlDataSource dataSource = new MysqlDataSource(); dataSource.setUser("root"); dataSource.setPassword("ncl"); dataSource.setDatabaseName("userdb"); dataSource.setEmulateLocators(true); //This is important because we are dealing with a blob type data field try{ JdbcDirectory jdbcDir = new JdbcDirectory(d...

Installing Compass (Following the Compass Primer)

I am currently following the Compass Primer I've followed all the steps for installation on Ubuntu 8.10, and when I try to run it, to ensure that it's installed correctly, it gives me a big mess of errors: sudo /var/lib/gems/1.8/bin/compass /var/lib/gems/1.8/gems/chriseppstein-compass-0.3.8/lib/compass/commands /install_rails.rb:5:...

When using Webby/Compass Integration what directory do the *.sass files go in?

I just setup Webby/Compass integration. (http://wiki.github.com/chriseppstein/compass/webby-integration) Where do I put my Compass/Sass source files, and in what directory do they get output as stylesheets? ...

Using blueprint.sass in Webby/Compass Integration

I'm following an article here: http://gom-jabbar.org/articles/2009/02/04/don-t-use-css-or-table-layout-use-sass-ad-compass more specifically the section entitled "Concrete Example of using Compass and Sass for creating a layout that people generally use tables for" The example references @import blueprint.sass Where is this file loc...

What's are the main differences between Haml, Sass/Compass and erb?

I'm looking for a templating engine. What are the important factors to consider when choosing among Haml, Sass/Compass and erb? ...

Webby-Compass Integration - equivelent config.rb file?

In the Compass screencast at 23:08 Chris Eppstein starts editing a file called config.rb, in his pure Compass project. Chris uses this file to configure relative path names in his images using the *img_url()* function (which must be undocumented as I can't find anything about it, in the mailing list or on the website.). I'm working on ...

Learning a bit about some new technologies... any tips?

OBJECTIVE: To learn a little more about some technologies I'm familiar with but not an expert in: Postgres, Compass/Sass, Google Maps API, Twitter API, and ASP.NET MVC 1.0, Flickr API THE SITE: Just a fun little app with CRUD for addresses of my friends, then a page that kind of has a map of where they live, their last five tweets, an...

SASS Image CSS Cache Busting (via Compass)

Can anyone explain a best practice approach to implementing a cache buster in SASS? Meaning, on 'compilation' of my CSS, it appends a timestamp to images files. E.g., The following SASS code: !sprite="gubs.gif" ul li.selected :background :image= image_url(!sprite) :repeat no-repeat :position= "right" -222px S...

Best way to learn how to combine Blueprintcss and Compass/Sass?

I would like to apply Blueprintcss and Compass/Sass to a Rails project. Should I learn Blueprint first or Compass/Sass first or are there any guides on how to use the two of these together? Also, does it make any difference that it's a Rails project? Could this combination of technologies be just as easily applied to, say, a Java proje...

Are HAML and Sass requirements for working with Compass?

How interdependent are Haml, Sass and Compass? Are all three required in a Compass project? ...

How do I add an EdgeNGramTokenFilter to a Compass Query?

I am building some auto-complete functionality using compass and I need to add an EdgeNGramTokenFilter to the compass query but I cannot see how I can add it. Is this possible? ...

Lucene Query Syntax

Hi, I'm trying to use Lucene to query a domain that has the following structure Student 1-------* Attendance *---------1 Course The data in the domain is summarised below Course.name Attendance.mandatory Student.name ------------------------------------------------- cooking N Bob art Y ...

Using Compass on Windows with Visual Studio 2008, C# and ASP.NET

Has anyone done any development of Compass for CSS/SASS in a standard C# ASP.NET environment (Windows XP, VS2008)? Is there a single distribution I can just download that's ready to go for Windows or do I need install every piece of the equation and build compass myself? Are there any plugins that make developing with Compass friendlie...

Grails/Compass question - How can I change the compqass Connection to point to a different directory?

Hi, I use the Searchable plugin with Grails I have the need to change the directory to which Compass points to, depending upon a UI choice by the user. Normally, this value is set in the compassConnection variable of the searchable map in grails-app/conf/Searchable.groovy, like so, and gets called at app startup time: searchable { com...

Create a padded box mixin with Compass and Blueprint

The interface should look like this +box(optional_padding_value_in_columns) It shouldn't break the grid. (If placed in column that spans 7 units, then the box should stay within the 7 units.) Compass _scaffolding.sass actually includes this little number: // Mixin +box to create a padded box inside a column. =box :padding 1.5em ...

Querying lucene tokens without indexing

I am using Lucene (or more specifically Compass), to log threads in a forum and I need a way to extract the keywords behind the discussion. That said, I don't want to index every entry someone makes, but rather I'd have a list of 'keywords' that are relevant to a certain context and if the entry matches a keyword and is above a threshold...

Compass Autocomplete to only return index words

I am currently trying to configure a compass query for autocomplete. I have it working so that the compass query will return an object. I would like to modify it so that it will return matching words in the index, not matching results. Thanks. ...