Re: WildCardTermEnum in Lucene 4.1

2013-03-25 Thread Ramprakash Ramamoorthy
On Thu, Mar 21, 2013 at 4:17 PM, Uwe Schindler wrote: > You can do the following: > > Automaton automaton = WildcardQuery.toAutomaton(wildcardTerm); // this > transforms the wildcard syntax with ? and * to a state machine > CompiledAutomaton compiled = new CompiledAutomaton(automaton); // copiles

Re: StandardAnalyzer class not present in Lucene 4.2.0

2013-03-25 Thread gaurav redkar
Thank you very much Chris. That helped a lot. Cheers. Regards, Gaurav On Tue, Mar 26, 2013 at 6:45 AM, Chris Hostetter wrote: > > : Thank you very much Arjen. I had to separately download and install the > : jar. it was not present in my lucene installation directory. I had > : downloaded the l

FacetsAccumulator.java:185 throws NullPointerException if it's given an empty CategoryPath.

2013-03-25 Thread crocket
The issue is reported at https://issues.apache.org/jira/browse/LUCENE-4882 I submit the message to the list to make people see the issue.

Re: StandardAnalyzer class not present in Lucene 4.2.0

2013-03-25 Thread Chris Hostetter
: Thank you very much Arjen. I had to separately download and install the : jar. it was not present in my lucene installation directory. I had : downloaded the lucene zip file and ran the command "ant" after extracting : it. Did i miss anything.? if you download & build lucene from source, then

numeric range query

2013-03-25 Thread ash nix
Hi, I have time stamp field for my documents which I have indexed as DoubleField for NumericRange query to work. This field "stream_time" is indexed as DoubleField("stream_time", , Field.Store.No). I get null value when I query a lucene document for this field by using document.getField() call. Do

RE: Compression and Highlighter

2013-03-25 Thread Bushman, Lamont
Thank you very much for the help Simon. I am amazed I was able to accomplish what I wanted. I didn't store the body in the Index. And I used Highlighter to return the best fragments by parsing my original document. From: Simon Willnauer [simon.willna...

Re: [ANNOUNCE] Wiki editing change

2013-03-25 Thread Erick Erickson
Steve: Where are you finding the logons? I meant to help, not cause more work, maybe I can do a better job if I do the right thing ... On Mon, Mar 25, 2013 at 3:24 PM, Steve Rowe wrote: > Erick, > > I changed Tom's wiki username from "Tom Burton-West" (what you put) to > tburtonw. > > Stev

Re: [ANNOUNCE] Wiki editing change

2013-03-25 Thread Steve Rowe
Tom gave you his wiki username :) "Please add tburtonw to contributors" For other people I've just searched through the notifications I get from the wiki when people edit/add pages. But really, people should tell us what there wiki username is - searching might turn up the wrong thing. Steve

Re: [ANNOUNCE] Wiki editing change

2013-03-25 Thread Steve Rowe
Erick, I changed Tom's wiki username from "Tom Burton-West" (what you put) to tburtonw. Steve On Mar 25, 2013, at 1:19 PM, Erick Erickson wrote: > @Tom - done > > > On Mon, Mar 25, 2013 at 12:48 PM, Tom Burton-West wrote: > >> Please add tburtonw to contributors >> Tom Burton-West >> tburto

Re: Assert / NPE using MultiFieldQueryParser

2013-03-25 Thread Simon Willnauer
you know, a lot of what we do is pressing buttons ;) But luckily not everything. simon On Mon, Mar 25, 2013 at 7:19 PM, Erick Erickson wrote: > @Simon > > did I actually catch a reference to: http://xkcd.com/722/ > ??? that's one of my all-time favorites on XKCD, I think it > describes my entire

Re: Assert / NPE using MultiFieldQueryParser

2013-03-25 Thread Erick Erickson
@Simon did I actually catch a reference to: http://xkcd.com/722/ ??? that's one of my all-time favorites on XKCD, I think it describes my entire professional life "Bobby Tables" is another (http://xkcd.com/327/). There, I've done my bit to stop productivity today! Erick On Mon, Mar 25

Re: Assert / NPE using MultiFieldQueryParser

2013-03-25 Thread Simon Willnauer
adam, thanks for opening it and reporting the bug! Very much appreciated and definitely 50% of the work. I just pressed buttons until tests passed! simon On Mon, Mar 25, 2013 at 5:37 PM, Adam Rauch wrote: > Thanks, Simon. You've obviously seen (and fixed!) the issue already, but for > the reco

Re: [ANNOUNCE] Wiki editing change

2013-03-25 Thread Erick Erickson
@Tom - done On Mon, Mar 25, 2013 at 12:48 PM, Tom Burton-West wrote: > Please add tburtonw to contributors > Tom Burton-West > tburtonw at umich dot edu > > Tom > > On Mon, Mar 25, 2013 at 9:05 AM, Steve Rowe wrote: > > > > > On Mar 25, 2013, at 8:49 AM, Rafał Kuć wrote: > > > Could you add Ra

Re: [ANNOUNCE] Wiki editing change

2013-03-25 Thread Tom Burton-West
Please add tburtonw to contributors Tom Burton-West tburtonw at umich dot edu Tom On Mon, Mar 25, 2013 at 9:05 AM, Steve Rowe wrote: > > On Mar 25, 2013, at 8:49 AM, Rafał Kuć wrote: > > Could you add RafalKuc to contributors ? Thanks :) > > Added to ContributorsGroup. > > On Mar 25, 2013, at

RE: Assert / NPE using MultiFieldQueryParser

2013-03-25 Thread Adam Rauch
Thanks, Simon. You've obviously seen (and fixed!) the issue already, but for the record: https://issues.apache.org/jira/browse/LUCENE-4878 Adam -Original Message- From: Simon Willnauer [mailto:simon.willna...@gmail.com] Sent: Sunday, March 24, 2013 9:28 AM To: java-user@lucene.apache.o

Re: [ANNOUNCE] Wiki editing change

2013-03-25 Thread Steve Rowe
On Mar 25, 2013, at 8:49 AM, Rafał Kuć wrote: > Could you add RafalKuc to contributors ? Thanks :) Added to ContributorsGroup. On Mar 25, 2013, at 8:47 AM, Adrien Grand wrote: > Can you add 'jpountz' to the ContributorsGroup? Thank you! Added to ContributorsGroup.

Using MappingCharFIlter in analyzer breaking wildcard matches

2013-03-25 Thread Paul Taylor
I created this simple StripSpacesAndSeparatorsAnalyzer so that it ignores certain characters such as hypens in the field so that I can search for catno:WRATHCD25 catno:WRATHCD-25 and get the same results, and that works (the original value of the field added to the index was WRATHCD-25) How

Re: [ANNOUNCE] Wiki editing change

2013-03-25 Thread Rafał Kuć
Hello! Could you add RafalKuc to contributors ? Thanks :) -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch > Hi Steve, > On Mon, Mar 25, 2013 at 4:16 AM, Steve Rowe wrote: >> Please request either on the java-user@lucene.apache.org or on >> d...@lucene.apache

Re: [ANNOUNCE] Wiki editing change

2013-03-25 Thread Adrien Grand
Hi Steve, On Mon, Mar 25, 2013 at 4:16 AM, Steve Rowe wrote: > Please request either on the java-user@lucene.apache.org or on > d...@lucene.apache.org to have your wiki username added to the > ContributorsGroup page - this is a one-time step. Can you add 'jpountz' to the ContributorsGroup? Tha

Re: [ANNOUNCE] Wiki editing change

2013-03-25 Thread Steve Rowe
On Mar 25, 2013, at 4:09 AM, Simon Willnauer wrote: > please add me to the list "simonwillnauer" Added to AdminGroup. On Mar 25, 2013, at 4:42 AM, Andrzej Bialecki wrote: > Please add AndrzejBialecki to the ContributorsGroup. Thanks! Added to AdminGroup.

Re: Compression and Highlighter

2013-03-25 Thread Simon Willnauer
On Mon, Mar 25, 2013 at 8:13 AM, Bushman, Lamont wrote: > I have a project where I need to index documents using Lucene 4.1.0. One > of the fields for the stored Document is the actual text from the > document(.pdf, .docx, etc.) I want to be able to highlight text from the > documents in

Re: [ANNOUNCE] Wiki editing change

2013-03-25 Thread Andrzej Bialecki
On 3/25/13 4:16 AM, Steve Rowe wrote: The wiki at http://wiki.apache.org/lucene-java/ has come under attack by spammers more frequently of late, so the PMC has decided to lock it down in an attempt to reduce the work involved in tracking and removing spam. From now on, only people who appear

Re: StandardAnalyzer class not present in Lucene 4.2.0

2013-03-25 Thread gaurav redkar
Thank you very much Arjen. I had to separately download and install the jar. it was not present in my lucene installation directory. I had downloaded the lucene zip file and ran the command "ant" after extracting it. Did i miss anything.? On Mon, Mar 25, 2013 at 1:22 PM, Arjen van der Meijden <

Re: [ANNOUNCE] Wiki editing change

2013-03-25 Thread Simon Willnauer
On Mon, Mar 25, 2013 at 4:16 AM, Steve Rowe wrote: > The wiki at http://wiki.apache.org/lucene-java/ has come under attack by > spammers more frequently of late, so the PMC has decided to lock it down in > an attempt to reduce the work involved in tracking and removing spam. > > From now on, onl

Re: StandardAnalyzer class not present in Lucene 4.2.0

2013-03-25 Thread Arjen van der Meijden
Hi Guarav, There is a package 'lucene-analyzers-common-$version.jar' which contains the analyzers. So you should add that to your project. Best regards, Arjen On 25-3-2013 8:41, gaurav redkar wrote: Hi all, I am trying to write simple program to add documents to index. But am unable to do

StandardAnalyzer class not present in Lucene 4.2.0

2013-03-25 Thread gaurav redkar
Hi all, I am trying to write simple program to add documents to index. But am unable to do so. The class StandardAnalyzer is not defined. Analyzer analyzer = new StandardAnalyzer(Version.LUCENE_CURRENT); Any suggestions as to how to fix it.? Thanks, Gaurav

Compression and Highlighter

2013-03-25 Thread Bushman, Lamont
I have a project where I need to index documents using Lucene 4.1.0. One of the fields for the stored Document is the actual text from the document(.pdf, .docx, etc.) I want to be able to highlight text from the documents in the search results. I was looking at some older tutorials about

Re: Update DocValues and Query Time Join performance on DocValues

2013-03-25 Thread Pablo Guerrero
Thanks Gopal, I had the impression that it was easier to update DocValues than to update any document in general, but we will have to wait for this. Cheers, Pablo On Mon, Mar 25, 2013 at 3:37 AM, Gopal Patwa wrote: > Unfortunately updateable docvalues is not supported yet, but it future > AFA