Lucene test documents (TREC)

2011-08-25 Thread Sara naznazi
hi I want to know is TREC documents (a test collection) free or not? Is there any other collection like TREC to do our test? Is there any one to use this collection? thanks

Code for Precision in Lucene

2011-08-25 Thread Sara naznazi
hi I have some text files and want to calculate Precision and Recall. dont refer me to Lucen in action book, I already studied it and just want to know is there any one that implement the code successfuly? Can I have it? thanks alot.

Re: Searching behaviour with content containing decimal points

2011-08-25 Thread Josh Rehman
Actually I have this issue too. I've played around with various analyzers, and I would expect the WhitespaceAnalyzer to work (at least) but it does not. On Thu, Aug 25, 2011 at 4:58 PM, SBS wrote: > Can anyone help me with this? Do you require further information? This > has > become a serious

Re: Searching behaviour with content containing decimal points

2011-08-25 Thread SBS
> I have content such as "E71.0" and when I enter a search query of "E71" I would like it to match that > document. At the moment though it only matches that document if I enter > "E71*" or "E71.0". > > What's the trick to getting such a query to match this document? I am > using StandardAnalyzer

Re: Searching behaviour with content containing decimal points

2011-08-25 Thread SBS
Can anyone help me with this? Do you require further information? This has become a serious issue for us. Thanks, -sbs -- View this message in context: http://lucene.472066.n3.nabble.com/Searching-behaviour-with-content-containing-decimal-points-tp3276878p3285423.html Sent from the Lucene - J

RE: Lucene scoring and random result order

2011-08-25 Thread Sendros, Jason
You can sort on multiple values. Keep the primary sort as a relevancy sort, and choose something else to sort on to keep the rest of the responses fairly static. http://lucene.apache.org/java/3_3_0/api/core/org/apache/lucene/search/So rt.html Example: Sort sortBy = new Sort(new SortField[] { Sort

Lucene scoring and random result order

2011-08-25 Thread Yanick Gamelin
Hi all, I have the following problem with Lucene being not deterministic. I use a MultiSearcher to process a search and when I get hits with same score, those are returned in a random order. I wouldn't care much about the order of the hits with same score if I could get them all, so I could sor

Re: SpanNearQuery vs. PhraseQuery.setSlop

2011-08-25 Thread Saurabh Gokhale
Yes, this can be achieved using SpanNearQuery with inOrder flag (third argument to the constructor) set to false. there is a good example (Listing 5.10) in Lucene in action if you want to take a look. Thanks Saurabh On Mon, Aug 22, 2011 at 5:18 PM, wrote: > Hello, > We are using phrase querie

relative path to for solr config

2011-08-25 Thread Ksenia Khailenko
Hi there! I have a question concerned with ability to use relative path for the config files. I am deploying Solr within a custom war application and it requires a path to its config files. Also I'm using Tomcat 7 for the deployment. Before parallel deployment I had this entry in context.xml: