FAQ

Search Discussions

75 discussions - 302 posts

  • Hi, I use lucene 3.4.0 in a search project,but encounter a problem and i don't know how to resolve. I index and it run well,but one week or two(it appear two times,first run one week,second two),it ...
    SuperruiyeSuperruiye
    Jan 7, 2012 at 4:50 pm
    Feb 17, 2012 at 1:43 pm
  • Hi! I have a Solr-constructed index, which I read with this code: Directory directory = FSDirectory.open(file); IndexReader reader = IndexReader.open(directory, true); IndexSearcher searcher = new ...
    Michael KazekinMichael Kazekin
    Jan 27, 2012 at 3:39 pm
    Feb 1, 2012 at 7:43 am
  • Hi folks, I have a query result problem I do not understand. The documentation for Lucene 3.2 query syntax says the following about boolean OR queries: "The OR operator links two terms and finds a ...
    1983-01-061983-01-06
    Jan 3, 2012 at 3:41 pm
    Jan 3, 2012 at 9:26 pm
  • I have read a lot about IndexWriter and multi-threading over the Internet. It seems to me that the normal practice is: 1) use a same indexwriter instance for multiple threads; 2) create an individual ...
    ChengCheng
    Jan 11, 2012 at 5:19 pm
    Jan 11, 2012 at 8:54 pm
  • Hello, we use lucene as search engine in an online shop. The products in this shop often contain product keys like CRXUSB2.0-16GB. We would like our customers to be able to find products by entering ...
    Christoph KaserChristoph Kaser
    Jan 3, 2012 at 8:45 am
    Jan 3, 2012 at 3:06 pm
  • Hi friends, Any one meet ArrayIndexOutOfBoundsException: -65536 described in https://issues.apache.org/jira/browse/LUCENE-1995 after it declared being fixed? My lucene version is 3.0.3 and ...
    Duke DAIDuke DAI
    Jan 16, 2012 at 12:22 am
    Oct 15, 2014 at 9:55 pm
  • Hi, I new a RAMDirectory based upon a FSDirectory. After a few modifications, I would like to synchronize the two. Some on the mailing list provided a solution that uses addIndex() function. However, ...
    ChengCheng
    Jan 9, 2012 at 4:05 am
    Jan 13, 2012 at 12:28 am
  • I have a collection of 50 million documents and I hit the SIGSEGV error. For every 10000 documents I perform commit. The logs and the question has been posted to SO here: http://bit.ly/xyZUEG where I ...
    Frank MossFrank Moss
    Jan 11, 2012 at 8:29 am
    Jan 11, 2012 at 9:53 am
  • Hi, I recently switched an experimental project from Lucene 3.5 to 4.0 from 6th Dec 2011 and my indexing time increased by nearly 20% on my local machine*. It seems to me that two simple ...
    Peter KPeter K
    Jan 3, 2012 at 4:57 pm
    Jan 7, 2012 at 1:39 pm
  • I have a requirement where reads and writes are quite high ( @ 100-500 per-sec ). A document has the following fields : timestamp, unique-docid, content-text, keyword. Average content-text length is ...
    Prasenjit mukherjeePrasenjit mukherjee
    Jan 4, 2012 at 5:18 am
    Jan 6, 2012 at 1:41 am
  • Hi how can we assign custom score for each token/word. For Ex I have document 1 pqrst uvwx abcd 2 abcd pqrst uvwx 3 pqrst uvwx lmn 4 pqrst uvwx lmn abcd 5 pqrst abcd uvwx lmn *Now i m searching data ...
    A ZA Z
    Jan 24, 2012 at 5:11 pm
    Feb 6, 2012 at 11:13 am
  • All things being equal does a fuzzy match give the same score as an exact match. i.e if I do a search for farmin and it matches two docs one on term farmin, the other on term farming, will it score ...
    Paul TaylorPaul Taylor
    Jan 28, 2012 at 9:33 am
    Feb 1, 2012 at 12:47 pm
  • Hi, I don't want to filter certain stop words within the StandardAnalyzer? Can I do so? Ideally, I would like to have a customized StandardAnalyzer. Thanks.
    ChengCheng
    Jan 28, 2012 at 4:41 am
    Jan 30, 2012 at 10:23 am
  • Just reading Apache Solr Enterprise Search Server and was interested in pages 152, 153 dismax and DisjunctionMaxQuery and automatic Phrase Boosting. I would like to incorporate this into a standard ...
    Paul TaylorPaul Taylor
    Jan 6, 2012 at 10:53 pm
    Jan 26, 2012 at 10:51 am
  • I'm hoping to upgrade Lucene on a local code base from 3.0.3 to 3.5.0; is there a good guide out there for particular pitfalls that I should worry about? I've skimmed the ChangeLogs; the mention of ...
    David CarltonDavid Carlton
    Jan 19, 2012 at 7:02 pm
    Jan 20, 2012 at 5:15 pm
  • HI, Could you please help me with a quick question - Is there a way to restrict lucene/solr fuzzy search to only analyze words that have more than 5 characters and to ignore words with less than that ...
    LanceLance
    Jan 19, 2012 at 8:09 pm
    Jan 25, 2012 at 10:30 pm
  • I am currently using the following statement at the end of each index writing, although I don't know if the writing modifies the indexes or not: is = new IndexSearcher(IndexReader.openIfChanged(ir)); ...
    ChengCheng
    Jan 11, 2012 at 10:52 pm
    Jan 15, 2012 at 6:08 am
  • Hi, I use a same instance of writer for multiple threads. It turns out that the time to finish jobs is more than to create a new writer instance in each thread. What would be the possible reasons? ...
    ChengCheng
    Jan 11, 2012 at 1:33 am
    Jan 13, 2012 at 5:13 pm
  • Hi all, Looking at some older Lucene examples, I noticed for older versions of lucene that IndexReader came with a handy terms() method that would return a listing of all the terms in the index and ...
    Stephen HoweStephen Howe
    Jan 24, 2012 at 9:10 pm
    Nov 16, 2012 at 9:19 am
  • In Lucene, 3.4 I recently implemented "Translating PhraseQuery to SpanNearQuery" (see Lucene in Action, page 220) because I wanted _order_ to matter. Here is my exact code called from getFieldsQuery ...
    Paul Allan HillPaul Allan Hill
    Jan 31, 2012 at 8:48 pm
    Feb 1, 2012 at 9:45 pm
  • Hi Everyone I have a problem where I need to compare two indexed fields as part of a query. For instance: modified_date[1970 to 2012] AND NOT deleted_date modified_date how would one implement this ...
    JamieJamie
    Jan 23, 2012 at 10:28 am
    Jan 23, 2012 at 10:23 pm
  • I am trying to perform a "translation" of sorts of a stream of text. More specifically, I need to tokenize the input stream, look up every term in a specialized dictionary and output the ...
    Ilya ZavorinIlya Zavorin
    Jan 13, 2012 at 4:45 pm
    Jan 16, 2012 at 10:09 pm
  • Just curious about that. Any thoughts? Thanks
    ChengCheng
    Jan 13, 2012 at 12:50 am
    Jan 16, 2012 at 2:12 pm
  • Hi, my name is Reyna Melara I'm a PhD student form Mexico, and I have a set of 11,051,447 files with txt extension but the content of each file is in fact in wiki format, I want and I need them to be ...
    Reyna MelaraReyna Melara
    Jan 11, 2012 at 7:13 pm
    Jan 12, 2012 at 3:43 am
  • Happy new year! I'm working on a way to simple geocode documents as they are indexed. I'm hoping to use existing Lucene infrastructure to do this as much as possible. My plan is to build an index of ...
    Ryan McKinleyRyan McKinley
    Jan 3, 2012 at 9:30 pm
    Jan 4, 2012 at 9:18 am
  • I'm working on providing advanced searching for annotated Medical Documents (using UIMA). In the context of an annotated document, I identify relevant medical terms, as well as the negation of ...
    KtjexKtjex
    Jan 30, 2012 at 10:25 pm
    Feb 7, 2012 at 10:54 am
  • Hi, I’m using lucene on Hebrew MySql tables. I used ngram (1-15 gram sizes) in my name analyzer and the only thing that doesn’t work for me is when I try to use ‘%’ in my parsing string (didn’t find ...
    Gal MainzerGal Mainzer
    Jan 31, 2012 at 5:32 pm
    Feb 1, 2012 at 9:30 am
  • Hello, I’m having a bit of trouble Googling this, so I’m hoping someone can point me in the right direction. We have a system which generates blocks of text which need to be searched as they come in. ...
    Dave SeltzerDave Seltzer
    Jan 31, 2012 at 3:50 pm
    Jan 31, 2012 at 10:06 pm
  • Is there any difference, from a performance standpoint (or any other standpoint whatsoever), between instantiating a query using QueryParser and BooleanQuery? Is either of them preferable to use? Eg: ...
    Felipe CarvalhoFelipe Carvalho
    Jan 30, 2012 at 9:55 pm
    Jan 30, 2012 at 11:23 pm
  • After reading all about the renaming of optimize() and updating my Lucene libraries to 3.4, I was surprised and confused by what I found. I have a 1 segment index (all files are named _1*.*) that had ...
    Paul Allan HillPaul Allan Hill
    Jan 27, 2012 at 11:19 pm
    Jan 28, 2012 at 9:13 am
  • My analyser strips out accents as often these are not entered correctly, so assume there are two documents in the database with default field containing República Republica a search for ...
    Paul TaylorPaul Taylor
    Jan 10, 2012 at 9:13 am
    Jan 27, 2012 at 4:25 pm
  • Hi all, After much code and forum searching, I've hit a frustrating point that should be more obvious. I've trolled through a ton of postings and messaging on keyword counting and it seems like all ...
    David OlsonDavid Olson
    Jan 25, 2012 at 11:36 pm
    Jan 26, 2012 at 2:31 pm
  • It seems that it is not possible to have multiple document types defined in a single solr schema.xml file. If, in fact, this is not possible, then, what is the recommended app server deployment ...
    Frank DeRoseFrank DeRose
    Jan 25, 2012 at 9:49 pm
    Jan 26, 2012 at 7:59 am
  • I'm having a set of issues in trying to use Lucene that are all connected to the difficulty of retrieving offsets. I need some advice on how best to proceed, or a pointer if this has been answered ...
    Nishad PrakashNishad Prakash
    Jan 14, 2012 at 2:33 am
    Jan 20, 2012 at 3:40 am
  • I saw the link, https://builds.apache.org/job/Lucene-3.x/javadoc/contrib-misc/org/apache/lucene/index/NRTManagerReopenThread.html, which talks about how to use the NRTManagerReopenThread. I am ...
    ChengCheng
    Jan 15, 2012 at 6:18 pm
    Jan 16, 2012 at 5:40 am
  • Hi list, We have two different document types with different fields each. My problem is given one document (Doc) from type1, find similar ones of type2. Initially I thought two strategies to do it: - ...
    Pedro LacerdaPedro Lacerda
    Jan 26, 2012 at 4:35 pm
    Feb 1, 2012 at 10:05 am
  • hi all, short of it: i want "queen bohemian rhapsody" to return that song named "Bohemian Rhapsody" by the artist named "Queen", rather than songs with titles like "Bohemian Rhapsody (Queen Cover)". ...
    Johnny MarnellJohnny Marnell
    Jan 15, 2012 at 6:20 am
    Jan 31, 2012 at 11:13 pm
  • Goofing off with my index, I ran across this example http://www.lucidimagination.com/blog/2009/05/26/accessing-words-around-a-positional-match-in-lucene/ for using span queries to see what else is ...
    Stephen HoweStephen Howe
    Jan 24, 2012 at 11:38 pm
    Jan 25, 2012 at 11:29 pm
  • Hi, I am using multiple writer instances in a web service. Some instances are busy all the time, while some aren't. I wonder how to configure the writer to dissolve itself after a certain time of ...
    ChengCheng
    Jan 25, 2012 at 10:02 pm
    Jan 25, 2012 at 10:21 pm
  • Hi, I'm trying to select city names in a way that goes easy on the spelling mistakes with the most accurate match first. My index for the city name field is tokenized. Let's say I'm looking for Rio ...
    MschipperheynMschipperheyn
    Jan 21, 2012 at 6:29 pm
    Jan 21, 2012 at 9:30 pm
  • Hi, can any of you provide a working code example that utilizes the NRTManager, NRTManagerReopenThread and ExecutorServices instances? The limited availability of information regarding these classes ...
    ChengCheng
    Jan 18, 2012 at 5:46 pm
    Jan 20, 2012 at 6:04 pm
  • Hello, I am having problems opening a lucene index. The index has been created on the same machine. The size of index is 44G. Its a 64bit machine running OpenSuse. I have tried starting the java ...
    Frank MossFrank Moss
    Jan 17, 2012 at 11:06 am
    Jan 17, 2012 at 11:27 am
  • Hi The "Documentation" link on http://lucene.apache.org/java/docs/index.html expands to list Release 3.4.0, 3.3.0, etc. but not 3.5.0. http://lucene.apache.org/java/3_5_0/ exists and works. -- Ian. ...
    Ian LeaIan Lea
    Jan 9, 2012 at 10:56 am
    Jan 16, 2012 at 12:33 am
  • I have 10MM entities, for each of which I will index 10-20 fields. Also, I will have to index 100MM related information of the entities, and each piece of the information will have to go through some ...
    ChengCheng
    Jan 13, 2012 at 12:48 am
    Jan 13, 2012 at 2:42 pm
  • Hi, my servlet application is running a large index of 20G. I don't think it can be loaded to RAM at one time. What are the general strategies to improve the search and write performance? Thanks
    ChengCheng
    Jan 8, 2012 at 5:33 am
    Jan 8, 2012 at 4:57 pm
  • hi, i'm writing a normal web-search application with lucene 3.5.0. in version 3.5.0 lucene provides SearcherManager to manage multithreaded searching. but i don't know how to use this class. should i ...
    ChenhanChenhan
    Jan 7, 2012 at 4:49 pm
    Jan 7, 2012 at 5:59 pm
  • Hi, I'm using Lucene 2.0 and was wondering how to flush/commit index data to disk. It doesn't look like there is a flush() or commit() method in the 2.0 IndexWriter. Is there a way to flush the data ...
    Dragon FlyDragon Fly
    Jan 3, 2012 at 1:36 pm
    Jan 5, 2012 at 7:45 pm
  • Hi, I am experimenting with the Lucene trunk (aka 4.0), especially with the new IndexDocValues feature. I am trying to store some query-independent statistics such as PageRank, etc. One stat that I ...
    Hany AzzamHany Azzam
    Jan 4, 2012 at 12:15 pm
    Jan 4, 2012 at 2:59 pm
  • Consider a people index, containing People documents with the following names: Doc 1 [name: "Marcus"] Doc 2 [name: "Markus"] Doc 3 [name: "Mharcus"] Suppose I use an analyzer so that all 3 names have ...
    Felipe CarvalhoFelipe Carvalho
    Jan 30, 2012 at 10:36 pm
    Jan 31, 2012 at 9:51 am
  • Hi All, I am working on a project to find similar documents for the one being processed by a job. These documents talk about the functional issues so sometimes the description given for the document ...
    Saurabh GokhaleSaurabh Gokhale
    Jan 26, 2012 at 11:42 pm
    Jan 26, 2012 at 11:54 pm
Group Navigation
period‹ prev | Jan 2012 | next ›
Group Overview
groupjava-user @
categorieslucene
discussions75
posts302
users83
websitelucene.apache.org

83 users for January 2012

Ian Lea: 31 posts Dyzc2010: 30 posts Uwe Schindler: 21 posts Michael McCandless: 17 posts Paul Taylor: 10 posts Simon Willnauer: 10 posts Erick Erickson: 8 posts Michael-O: 7 posts Peter K: 7 posts Charlie Hubbard: 6 posts Frank Moss: 6 posts Robert Muir: 6 posts Stephen Howe: 6 posts David Olson: 4 posts Dawid Weiss: 4 posts Dyzc: 4 posts Findbestopensource: 4 posts Hany Azzam: 4 posts Lance: 4 posts Paul Allan Hill: 4 posts
show more
Archives