indexing records in hierachy

2005-11-01 Thread Urvashi Gadi
Hi, Is there a way to link indexed records in Lucene? I am working with collections and a record might be a part of a collection and this collection can again be a part of super collection. So if the search result has the record, is there a way to find out all the collections under which the reco

Handling fractional field range queries

2006-01-05 Thread Urvashi Gadi
Hi All, Any pointers on how to handle range queries if the data type is double or float? Best, Urvashi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Deprecated warning messages in org.apache.lucene.document.Field

2006-01-06 Thread Urvashi Gadi
Hi All, Why do i get the following warning messages? I couldn't find any information in javadocs. I am using java version 1.4.2 and lucene version 1.5. Thanks for the help, Urvashi --- IndexingApp.java:131: warning: T

Re: Deprecated warning messages inorg.apache.lucene.document.Field

2006-01-06 Thread Urvashi Gadi
okay...so what are alternative methods i should use? Where can i get the information? Best, Urvashi Quoting Chris Hostetter <[EMAIL PROTECTED]>: : Why do i get the following warning messages? I couldn't find any : information in javadocs. I am using java version 1.4.2 and lucene : version

Performance Issues

2006-02-15 Thread Urvashi Gadi
Hi All, My system requires traversing Hits (search result) and extracting some data from it. If the result set is very large my system becomes very slow. Is there a way to increase performance? Is there a way i can limit the number of most relevant documents returned? Best regards, Urvashi

"filtering" using RangeFilter class

2006-03-03 Thread Urvashi Gadi
Hi All, I am trying to filter my search using RangeFilter class but i get BooleanQuery TooManyClauses exception. Exception in thread "main" org.apache.lucene.search.BooleanQuery$TooManyClauses at org.apache.lucene.search.BooleanQuery.add(BooleanQuery.java:109) at org.apache.lucene.search.Bo

Atomic index/search for a phrase

2006-03-08 Thread Urvashi Gadi
Hi All, I am trying index and search a phrase (multiple words seperated by spaces). How should i index it so that it remains atomic. I have observed that if i index the phrase are keyword, lucene doesn't let me retrive the phrase in search. Please advice. Urvashi ---

use of ChainedFilter

2006-03-16 Thread Urvashi Gadi
Hi, I am using ChainedFilter to combine various filters. No mattar which logical operator i try to apply to all filters, when i try to print the chained filters using toString() method, i see ChainedFilter: [views:[0.4-0.6] level:[1-} ] i am concerned about not being able to see the logical

using custom sort method

2006-04-18 Thread Urvashi Gadi
Hello All, My requirement is to combine 2 or more fields using some critera (for example weighted average) and sort the search results based on the combined fields. I am looking at DistanceComparatorSource class to implement custom sort but it takes only one field for calculation and then so

Re: using custom sort method

2006-04-18 Thread Urvashi Gadi
No...the information is available only at search time Quoting Erik Hatcher <[EMAIL PROTECTED]>: Could your computation be done at indexing time rather than at search time? If so, pre-compute the value and index that into a single field. Erik On Apr 18, 2006, at 3:46 PM, U

Re: using custom sort method

2006-04-19 Thread Urvashi Gadi
scores. It will be painful if you need more than 3 fields. So far I didn't find any other way to do it. Hope we can see some new classes to address the problem. To be able to customize ranking is very important to a search engine. Yang Urvashi Gadi wrote: No...the information is availa

question about custom sort method

2006-05-12 Thread Urvashi Gadi
I am looking at DistanceComparatorSource class (for csutom sorting) and looks like it calculates the distance for each record in the index and not just the records returned from search, making the system very slow. Is my observation correct? Are there ways to optimize this process? Thanks, Urv