Hi, I'm a new developer who uses OpenCMS. OpenCMS uses lucene 1.2 so i'd like to stick to that version if possible.
The two questions i have are: 1. How do i do substring searches in Lucene?. ie. a search for "heat" will return "theatre". I don't have that much exposure to lucene and would prefer not to change too much code. 2. I've downloaded the searchbean in the sandbox as well but when i compile the HitsIterator class i get the following error message: The method id(int) is undefined for the type Hits. The method that generates this error is sortByField(): : : long first = System.currentTimeMillis(); for (int i=0; i<hitsCollection.length(); i++) { int id = hitsCollection.id(i); arrayOfIndividualHits[i] = new IndividualHit(i, sf.getFieldValue(id), hitsCollection.score(i)); } : Any help in the above would be appreciated. Cheers Trevor --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]