List Info

Thread: DisMax and truncation




DisMax and truncation
user name
2007-01-30 11:57:37
We are looking at using solr's DisMax handler for our
implementation on
our digital collections at UNT, and I had a quick question
about it. 

Is there a way to do truncation with DisMax?

Just being able to search for (photo*) would be helpful in
quite a few
places. 

So far I am really liking how the dismax allows us to give
priority to
specific fields in our collection. 

Thanks


Mark

Re: DisMax and truncation
user name
2007-01-30 12:45:16
: Is there a way to do truncation with DisMax?
:
: Just being able to search for (photo*) would be helpful in
quite a few
: places.

I'm afraid i'm not understanding your question ... what do
you mean by
"truncation" ? ... your example:  (photo*) seems
to be asking about
a prefix or wildcard type search, which might match
photomat,
photographer, photoaaaaaaaaaaa, etc... is that what you're
asking about?

there is no way at the moment to do prefix or wildcard
searches ... but
off the top of my head i think it might be fairly easy -
there is a
partical escaping that happens to escape all QueryParser
meta characters
except + and - .. we could probably make that configurable
so "*" was left
alone as well. ... i think there would need to be some
additions to the
DisjunctionMaxQueryParser to loop over the aliased fields
too though.



-Hoss


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )