Search Discussions

70 discussions - 228 posts

  • Hmmm, ok. So this next()-method design pattern that Lucene is using here is not the same as how Enumeration/Iterator/ResultSet works... ok; water under the bridge. I used the "find usages" feature of ...
    David SmileyDavid Smiley
    Mar 20, 2002 at 5:03 am
    Mar 24, 2002 at 8:57 pm
  • Hi all; I've problem searching for number in Lucene. I'm using StandardAnalyzer for Index/Search. In my document, I have a field contains text "this is a test for lucene with number 1727a and 1992 ...
    Tihon OneTihon One
    Mar 23, 2002 at 4:41 pm
    Mar 27, 2002 at 9:14 pm
  • Yes, I tried... and at first thought it was all working. If you create a document and then access its fields immediately, it gives you everything. But if you store the document in an index, read it ...
    Lex LawrenceLex Lawrence
    Mar 21, 2002 at 11:32 am
    Mar 24, 2002 at 8:58 pm
  • Hi, I would like to access the contents field of a document, fo rexample doc(i).get("contents") this should return a String (am i right?) but when I print it out I find that it is a Null. How do I go ...
    Mar 14, 2002 at 3:37 am
    Mar 14, 2002 at 2:09 pm
  • Hello, I'm a graduate student in the Information School at the University of Washington. I'm currently in the process of developing a prototype online IR system and I have been making use of Lucene's ...
    Nathan G. FreierNathan G. Freier
    Mar 29, 2002 at 7:15 pm
    Mar 30, 2002 at 5:09 pm
  • Kelvin, Why share index readers between threads? For searching this is fine, off course, but importing can be done differently. You might consider changing the functionality of your threads a bit: ...
    Ype KingmaYpe Kingma
    Mar 18, 2002 at 7:46 pm
    Mar 22, 2002 at 7:03 am
  • *** 16. What is filtering and how is it performed ? Filtering means imposing additional restriction on the hit list to eliminate hits that otherwise would be included in the search results. There are ...
    Armbrust, Daniel C.Armbrust, Daniel C.
    Mar 27, 2002 at 9:52 pm
    Mar 28, 2002 at 2:33 pm
  • Dan, Totally my bad. I had since changed it but hadn't posted it to the list coz I didn't think anyone found it useful. Here's the correct version. I haven't really documented since it's pretty ...
    Kelvin TanKelvin Tan
    Mar 28, 2002 at 1:54 am
    Mar 28, 2002 at 2:21 pm
  • Hi, Is there a limit for the amount of data indexable by a segment? If so is there a limit for searching? i.e. can I give MultiSearcher several indices that are all close to the maximum size. Thanks. ...
    Herman ChenHerman Chen
    Mar 8, 2002 at 2:57 am
    Mar 13, 2002 at 1:06 am
  • Hi, Does lucene replace all special characters with spaces when it adds the document to the index? Thanks! -- To unsubscribe, e-mail: For additional commands, e-mail:
    Aruna RaghavanAruna Raghavan
    Mar 12, 2002 at 9:24 pm
    Mar 12, 2002 at 11:13 pm
  • I've been looking around the org.apache.lucene.search.* code and can't seem to find an answer to this. I would like to present the terms that matched for each document in the Hits. For example, to ...
    Robert A. DeckerRobert A. Decker
    Mar 29, 2002 at 8:38 pm
    Mar 29, 2002 at 10:15 pm
  • Hi, While adding documents using something like the following- document.add(Field.Text("object number", m_strObjectNumber)); I used a string "object number" as you can see. I can not find the values ...
    Aruna RaghavanAruna Raghavan
    Mar 27, 2002 at 6:46 pm
    Mar 27, 2002 at 7:33 pm
  • Hi all, I indexed all records in DataBase. One of the field in my index stores primary key from DataBase (each key is in different document). Is there a way that I can retrieve all documents from ...
    Tihon OneTihon One
    Mar 27, 2002 at 4:42 pm
    Mar 27, 2002 at 5:45 pm
  • Dear Lucene-users, has someone an answer to the following question: If I add a StopFilter to my Analyzer, the stopwords I gave him will be left out the query. So far, so good. But when my query is ...
    P WitteP Witte
    Mar 27, 2002 at 1:38 pm
    Mar 27, 2002 at 5:19 pm
  • Hi! As many others I want to use Lucene as a frontend for searching content which is burried in a relational database. As far as I can see this should be no problem, by building documents for single ...
    Peter SojanPeter Sojan
    Mar 27, 2002 at 8:49 am
    Mar 27, 2002 at 12:57 pm
  • I'm stuck on jdk 1.1.8 and can't upgrade for some time. I'm using javacc to create some java code from a .jj file provided by the Lucene project at lucene.jakarta.org. I'm runnig into a problem where ...
    Robert A. DeckerRobert A. Decker
    Mar 22, 2002 at 1:12 am
    Mar 22, 2002 at 6:48 pm
  • Hi, I am using Lucene for indexing a relatively large article based system where articles change from time to time so i have to reindex them. reindexing had the effekt that a query would return the ...
    Joe HajekJoe Hajek
    Mar 20, 2002 at 8:27 am
    Mar 20, 2002 at 8:29 pm
  • Hi All ! Is there anybody who have any ideas about implementing russian morphology in Lucene ? Please, let me know. Thanks in advance. Vadim Solonovich, mailto:vsolon@park.ru http://www.park.ru ...
    Vadim SolonovichVadim Solonovich
    Mar 7, 2002 at 1:40 am
    Mar 12, 2002 at 1:44 pm
  • Hi again! I should really reword my question as follows: On which criteria are relevant documents chosen given a particular query and once retrieved, how are these documents ranked? The techniques by ...
    Melissa MifsudMelissa Mifsud
    Mar 7, 2002 at 3:17 pm
    Mar 7, 2002 at 10:34 pm
  • Hi, Does anyone know the significance of the files that are generated by Lucene? I know they are essentially the term index, however I need to have a full understanding of them. Also, they look ...
    Melissa MifsudMelissa Mifsud
    Mar 6, 2002 at 9:47 am
    Mar 7, 2002 at 4:12 pm
  • What must be slop factor to allow any combination of word in phrase? -- Norbert Pabiś -- To unsubscribe, e-mail: For additional commands, e-mail:
    Norbert Pabi¶Norbert Pabi¶
    Mar 6, 2002 at 3:29 pm
    Mar 7, 2002 at 9:39 am
  • Hi, I'm new to Lucene, and I was wondering how I should parse XHTML files. Should I name them with the .HTML file extention and use org.apache.lucene.demo.IndexHTML or name them with the .XML file ...
    Terry McGregorTerry McGregor
    Mar 6, 2002 at 4:08 am
    Mar 6, 2002 at 11:42 pm
  • Hi! I was trying the lucene web-app (lucene-1.2-rc5-dev.jar). I've created and indexed a simple html document with both english and russian words. it was ANSI encoded, if I check _3.fdt from created ...
    Philipp ChudinovPhilipp Chudinov
    Mar 1, 2002 at 6:21 am
    Mar 2, 2002 at 4:47 pm
  • To improve speed for our application, I'm trying to move our index from the disk to a RAM directory when our database is opened, and move it back to the disk when the database is closed. The code ...
    Avi DrissmanAvi Drissman
    Mar 7, 2002 at 11:45 pm
    Apr 25, 2002 at 6:36 pm
  • How can a Field be indexed, but not stored? Isn't being indexed mean that it is now in the index, and thus stored? thanks, rob -- To unsubscribe, e-mail: For additional commands, e-mail:
    Robert A. DeckerRobert A. Decker
    Mar 29, 2002 at 3:03 am
    Mar 29, 2002 at 6:54 pm
  • I'm confused about using Fields. Here's the two methods that are confusing me: public static final Field Text(String name, Reader value) public static final Field Text(String name, String value) The ...
    Robert A. DeckerRobert A. Decker
    Mar 27, 2002 at 11:01 pm
    Mar 27, 2002 at 11:34 pm
  • I was wondering if there are tricks for making indexing faster in Lucene. I have a program which reads XML "documents" from a file, and indexes the 7 or so fields which occur in them. Most of the ...
    David ElworthyDavid Elworthy
    Mar 25, 2002 at 1:15 pm
    Mar 27, 2002 at 1:11 pm
  • Aero* Look at Wildcard and Prefix queries. Otis --- RAYMOND Romain wrote:
    Otis GospodneticOtis Gospodnetic
    Mar 22, 2002 at 8:23 am
    Mar 25, 2002 at 8:55 am
  • I'm on Java 1.1.8, and can't upgrade beyond that for quite some time due to testing requirements. I've managed to compile in and use the 1.2 StringBuffer class that is required by Lucene. However, ...
    Robert A. DeckerRobert A. Decker
    Mar 21, 2002 at 8:58 pm
    Mar 22, 2002 at 11:04 pm
  • Hello, --- David Smiley wrote: DateFilter.java has changed since the report, but I think I found the piece of code that you were referring to. After looking at DateFilter, TermEnum, and ...
    Otis GospodneticOtis Gospodnetic
    Mar 20, 2002 at 3:33 am
    Mar 20, 2002 at 3:52 am
  • Hello All, I tried doing a search for a phone number 1-954-612-1276. It worked fine. I am using a StandardAnalyzer for both indexing and searching. From looking at StandardTokenizer.jj and ...
    Aruna RaghavanAruna Raghavan
    Mar 13, 2002 at 4:50 pm
    Mar 14, 2002 at 2:41 pm
  • Hello All, Phrase queries work fine for some thing like "I am a programmer". But if I don't use quotes and look for just I am a programmer what is the result set returning? Is it AND of all words or ...
    Aruna RaghavanAruna Raghavan
    Mar 13, 2002 at 4:53 pm
    Mar 13, 2002 at 9:46 pm
  • *This message was transferred with a trial version of CommuniGate(tm) Pro* Has anyone had any experience/problems with using "C/C++" in Lucene queries? When I do a query using that as a term I get ...
    Jonathan FranzoneJonathan Franzone
    Mar 9, 2002 at 4:00 am
    Mar 10, 2002 at 4:53 pm
  • Hi, Do calls like optimize() and delete() on the Indexwriter cause a separate thread to be kicked off? Thanks! Aruna. -- To unsubscribe, e-mail: For additional commands, e-mail:
    Aruna RaghavanAruna Raghavan
    Mar 8, 2002 at 5:28 pm
    Mar 8, 2002 at 5:58 pm
  • Hello All, I am in the process of testing Lucene for our intranet, and having a difficult time finding good documentation. Any recommendations on good Web sites with tips, how-tos, code examples, ...
    Ryan OgaardRyan Ogaard
    Mar 5, 2002 at 2:45 pm
    Mar 5, 2002 at 4:10 pm
  • What should I use to store and add to my Document a long String? (thousands of characters) I'm still having difficulty understanding what it means to create a field with a reader value: String ...
    Robert A. DeckerRobert A. Decker
    Mar 29, 2002 at 2:54 am
    Apr 1, 2002 at 6:08 am
  • Hi all ! I've got a problem when initializing Lucene from Tomcat: 2002-03-25 11:16:31 - Ctx(/luceneweb) : Validating web.xml XmlMapper: Can't find resource for entity: -//Sun Microsystems, Inc.//DTD ...
    Guillaume ThomassianGuillaume Thomassian
    Mar 25, 2002 at 10:30 am
    Mar 25, 2002 at 2:56 pm
  • Hi I am new to lucene and would like to know the following: 1. Does lucene support unicode indexes. if yes then how can i enable it. 2. Is there some article explaining the way in which lucene ...
    Eeed wewefwfEeed wewefwf
    Mar 23, 2002 at 9:13 am
    Mar 23, 2002 at 11:33 pm
  • -- To unsubscribe, e-mail: For additional commands, e-mail:
    Dmitry SerebrennikovDmitry Serebrennikov
    Mar 21, 2002 at 5:45 pm
    Mar 21, 2002 at 5:51 pm
  • Greetings- I am interested in getting information about the available Fields in an index. Once I get hold of a Field object, it can provide everything I need, but I'm having trouble getting all of ...
    Lex LawrenceLex Lawrence
    Mar 20, 2002 at 4:37 pm
    Mar 21, 2002 at 6:19 am
  • Hi all, I'm a new user to Lucene, I'm getting "Bad File Descriptor" Exception for the following piece of code Hits hits = searcher.search(query); //returns hits properly for (int i =0; i< ...
    Jayakumar PJayakumar P
    Mar 13, 2002 at 12:44 pm
    Mar 13, 2002 at 2:58 pm
  • Hi, Is there anything wrong with the following code? try { m_lock.write(); // obtain a write lock on a RWLock IndexReader indexReader = IndexReader.open("mypath"); IndexSearcher indexSearcher = new ...
    Aruna RaghavanAruna Raghavan
    Mar 8, 2002 at 6:41 pm
    Mar 13, 2002 at 2:13 am
  • I've been using Lucene a bit, and find it very flexible and fast. However, I need to order search results by date (or, equally, document id); I've looked a bit into (re)writing a collect method ...
    Kent VilhelmsenKent Vilhelmsen
    Mar 12, 2002 at 8:01 pm
    Mar 13, 2002 at 12:42 am
  • I have three questions: 1. The jguru faq says that it's possible to use lucene with the 1.1.8 jdk. However, there are quite a few calls to StringBuffer methods that aren't present at that version of ...
    Robert A. DeckerRobert A. Decker
    Mar 12, 2002 at 7:48 pm
    Mar 12, 2002 at 10:07 pm
  • Does Lucene support the indexing/searching of multiple servers across the network (file servers, web servers, databases, ...)? Thank you, Ryan
    Ryan OgaardRyan Ogaard
    Mar 11, 2002 at 8:49 pm
    Mar 11, 2002 at 8:56 pm
  • Is there a way where I can search for phrase containing double quote? For example, the search string is: 6" nail. Thanks for any answers. -- To unsubscribe, e-mail: For additional commands, e-mail:
    Tony BiagTony Biag
    Mar 8, 2002 at 8:16 pm
    Mar 11, 2002 at 12:49 am
  • Hello, Do these 2 exceptions look familiar to anyone: java.lang.ArrayIndexOutOfBoundsException: 111 at java.util.Vector.elementAt(Vector.java(Compiled Code)) at ...
    Otis GospodneticOtis Gospodnetic
    Mar 8, 2002 at 5:40 pm
    Mar 8, 2002 at 8:29 pm
  • Maybe I'm just blind, but Lucene v1.02 does not appear to be available through jakarta.apache.org. There is no listing for Lucene under Release Builds, only Milestone and Nightly... thanks, sjb -- To ...
    Shannon BooherShannon Booher
    Mar 6, 2002 at 11:57 pm
    Mar 8, 2002 at 5:48 pm
  • Dear Lucene Users Lucene throws an ArrayIndexOutOfBoundsException() if the first term in my query string is a stopWord. Why is it so ? I'm making AND as the default mode of search. So I'm adding an ...
    Biswas, Goutam_KumarBiswas, Goutam_Kumar
    Mar 7, 2002 at 4:44 pm
    Mar 7, 2002 at 6:05 pm
  • We have a relatively large (300,000+ documents) set of XML files to index. The files themselves are articles broken up by journal and decade so that users can restrict their search to specific ...
    Paul DlugPaul Dlug
    Mar 6, 2002 at 4:57 pm
    Mar 6, 2002 at 5:07 pm
Group Navigation
period‹ prev | Mar 2002 | next ›
Group Overview
groupjava-user @

74 users for March 2002

Otis Gospodnetic: 33 posts Kelvin Tan: 16 posts Aruna Raghavan: 15 posts Robert A. Decker: 11 posts RAYMOND Romain: 8 posts Ype Kingma: 8 posts Joe Hajek: 5 posts Melissa Mifsud: 5 posts Norbert Pabi¶: 5 posts Peter Carlson: 5 posts ROSHAN NAVENDRA: 5 posts Dmitry Serebrennikov: 4 posts Ian Lea: 4 posts Nathan G. Freier: 4 posts Steven J. Owens: 4 posts Tate Jones: 4 posts Tihon One: 4 posts P Witte: 3 posts Armbrust, Daniel C.: 3 posts Joshua O'Madadhain: 3 posts
show more