lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wermus Fernando" <>
Subject problem with SortField[] in search method (newbie)
Date Wed, 15 Sep 2004 17:12:59 GMT
My search looks up the whole entities. My entities are accounts,
contacts, tasks, etc. My searching looks up a group of entity's fields.
This works fine despite, I don't have indexed any entity in a document.
But If I sort by some fields from different entities, I get the
following error.
field "shortName" does not appear to be indexed
The account's field I have indexed are
and I order by
without  any order
it works fine.
I don't understand the behavior because If I don't order the searching
and I don't have any document indexed, It works fine, but If I add an
order I get a runtimeException and I can't catch the exception  to solve
the problem. The only solution it's to index the whole fields'
entitities once in a document, but for me it's a patch.
Any idea,  it could help me out.
Thanks in advance.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message