On Apr 20, 2007, at 9:05 AM, [EMAIL PROTECTED] wrote:
Hello,
> you should be aware that the current indexing and searching
> facilities are right now undergoing drastic changes. We are working
> on a generic search service that can in turn use different backends,
> the first one being Compass (http://www.opensymphony.org/compass).
> The current default UI is rather rough.
So that means that the full syntax of Lucene ist supported? Like it
is described here <http://lucene.apache.org/java/docs/
queryparsersyntax.html>?
Yes, with a single exception: since searching on a given field is
handled differently (through a WHERE statemenet in NXQL), the colon
character has no special meaning.
More specifically: the "simple" search box that one can see on every
page corresponds to a QueryParser query on the special "fulltext"
field that aggregates all fields that qualify as "content" (title,
description, attached files,...)
On the other hand, the advanced search page does the work of building
a complex query for the user. Therefore it doesn't apply QueryParser
syntax. This is the same logic that, e.g, google provides its users.
Of course, this is what the end user interface does, Nuxeo's
modularity is precisely designed to let the integrator change that
easily.
> Note that other common use-cases such as handling of synonyms and
> stemming will be a simple matter of configuration with the Compass
> backend.
Okay, I can define synonyms for "car", e.g. "vehicule", and when I
search for "car", Compass automatically searches also for "vehicule"?
That's the idea, yes. It seems that Compass does it both at indexing
and queryng times. See the Compass reference manual, 5.3.3 at
http://www.opensymphony.com/compass
Yours,
---------
Georges Racinet, Nuxeo SAS
Open Source Enterprise Content Management (ECM)
Web: http://www.nuxeo.com/ and http://www.nuxeo.org/ - Tel: +33 1 40
33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm