Main Overview Wiki Issues Forum Build Fisheye
Issue Details (XML | Word | Printable)

Key: CMP-636
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Shay Banon
Reporter: Konstantyn Smirnov
Votes: 0
Watchers: 1

If you were logged in you would be able to see more operations.

Expose method(s) to convert CompassQuery into Lucene's native Query

Created: 19/May/08 03:24 AM   Updated: 19/May/08 01:43 PM
Component/s: Compass::Core
Affects Version/s: None
Fix Version/s: None

 Description  « Hide
It shall be possible to get a object from a built compassQuery or CompassQueryBuilder.

A method like toLuceneQuery() would be appropriate,

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Konstantyn Smirnov added a comment - 19/May/08 03:35 AM
Also it would be nice, if the CompassQuery API be packaged in a single jar file, like compass-query-[version].jar

Shay Banon added a comment - 19/May/08 01:43 PM
Actually, you can do it pretty simply by using: LuceneHelper.getLuceneSearchEngineQuery(compassQuery).getQuery(), which returns the Lucene query.

Why do you want the query API to be packaged in a different jar file?