java.lang.RuntimeException: there are more terms than documents in field "title", but it's impossible to sort on tokenized fields
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
It looks like the field is TOKENIZED even when compass is told not to do it.
The class is just Bean with Lucene annotations and no cascading and no references to other objects. The name of the field is not repeated. The only thing I can think of is that the title appears in two ROOT entities.
This seems to be a problem with compass and it might be do to caching. The field appears int two root searchable classes. Indexing is fine, the entry is untokenized but during search the problem appears.
For now, I've change the name of the property which fixed the issue for this particular case.
So basically, that is the problem. Lucene won't distinguish between the two. But, if you know that you only search on certain type, you can constrain your search to that type, then it should work (see CompassQuery#setTypes, or setAliases)
Sports brand Nike (Nike) has announced the new 2010 summer footwear, including the nike air max, Tennis Classic, and Air Max 90 Current Torch three groups. nike shox which are yellow, orange, and blue color, with some bright colors there is a refreshing feeling. Tennis Classic with a white and green color, low-cut shoes suitable for summer wear. And with the nike air jordan of the latest technology Torch nike shoes uk Current Torch shoes are hit with the classic black and white color with the toe position with the Torch materials, mining forefoot nike air max 2011 Free technology coupled with the classic appearance , reflecting the retro and technology integration.
Russian aerospace Coach Outlet soldier troops the spokesman says on 21th, a for use by the military satellite carries"the proton － M" carrier rocket to inshorely do obeisance the Coach Outlet section launch site to smoothly go up the sky in Kazakhstan before down on that day in the Moscow time. This spokesman says that the Coach Bags aerospace soldier's troops made use of the ground automation control equipments to carry on solid hour's monitor to this satellite that belongs to the Ministry of National Defense.According to the Coach Factory Outlet plan, the satellite separates with the rocket propeller after go up the sky more than 9 hours, entering the orbit of schedule to.The square of the Coach Purses did not explain the concrete use of this satellite. This time satellite goes up the sky to mean Russia starts recover the Coach Store blast-off of"proton" series carrier rocket.