Re: Help with delimited text

2011-04-07 Thread Mark Wiltshire
Thu, Apr 7, 2011 at 8:18 AM, Mark Wiltshire<m...@redalertconsultants.co.uk> wrote:Hi Thanks Ian for you help on this, its driving me nuts :-)The StandardAnalyser is only used on the search query term being passedalso.But In this case I am just adding a filter to the search.The actual category

Re: Help with delimited text

2011-04-07 Thread Mark Wiltshire
ignored by any analyzers you might be using. -- Ian. On Wed, Apr 6, 2011 at 11:33 AM, Mark Wiltshire wrote: > > Thanks Ian, > I have managed to do that and through Luke I get My expected results. > Here is now my Index Code. > StringTokenizer st = buildSubject

Re: Help with delimited text

2011-04-06 Thread Mark Wiltshire
tting on the /.  Sometime it can be easierto replace a character e.g. / to _.  I think there is a lucene classthat can do that, maybe MappingCharFilter, if you don't want to do ityourself.  You will of course need to be consistent and do the sameprocessing at index and search time.--Ian.On Wed, Apr

Re: Help with delimited text

2011-04-05 Thread Mark Wiltshire
To add more information I am then wanting to search this field using part or all of the path using wildcards i.e. Search category_path with /Top/My Prods* Hi java-users I need some help. I am indexing categories into a single field category_path

Help with delimited text

2011-04-05 Thread Mark Wiltshire
Hi java-users I need some help. I am indexing categories into a single field category_path Which may contain items such as /Top/Books,/Top/My Prods/Book Prods/Text Books, /Maths/Books/TextBooks i.e. category paths delimited by , I want to store this field, so the Analyser tokenizes the document