Search Discussions

60 discussions - 233 posts

  • Dear list, I would like to create a sub-set of the documents in an index that is to be used for further searches. However, the criteria that lead to the creation of that sub-set are not predefined so ...
    Carsten SchnoberCarsten Schnober
    Apr 12, 2013 at 2:35 pm
    Apr 15, 2013 at 8:29 pm
  • I want to take back-up of a Lucene index. I need to ensure that index files would not change when I take their backup. I am concerned about the housekeeping/merge/optimization activities which Lucene ...
    Ashish SarnaAshish Sarna
    Apr 17, 2013 at 10:58 am
    Jun 6, 2013 at 10:24 am
  • Hi, I am new to lucene. I've done some basics so far. Currently I have to deal with Faceted Search. Given: For example I have the following categories: Root Root/idA/ Root/idA/idB Root/idA/idB/idC ...
    Schimke, DannySchimke, Danny
    Apr 25, 2013 at 6:33 am
    May 28, 2013 at 2:17 pm
  • I am trying to use DiskDocValuesFormat for a particular BinaryDocValuesField. It seems there is no good examples showing how to do this. The only hint I got from various docs and forums is set some ...
    Wei WangWei Wang
    Apr 13, 2013 at 5:45 am
    Apr 15, 2013 at 12:05 am
  • Hi, I'm trying to extract payloads from an index for specific tokens the following way (inserting sample document number and term): Terms terms = reader.getTermVector(16504, "term"); TokenStream ...
    Carsten SchnoberCarsten Schnober
    Apr 23, 2013 at 11:04 am
    Apr 23, 2013 at 2:42 pm
  • Hi All, I'm facing this problem. When i build a jar out of my project and try to run the program that invokes lucene part of the code, it gives me this exception Exception in thread "main" ...
    Manivannan SelvaduraiManivannan Selvadurai
    Apr 9, 2013 at 9:53 am
    Apr 10, 2013 at 7:15 am
  • Hello! I have a ~20GB index and try to make a concurrent search over it. The index has 16 segments, I run SpanQuery.getSpans() on each segment concurrently. I see really small performance improvement ...
    Igor ShalyminovIgor Shalyminov
    Apr 2, 2013 at 12:30 pm
    Apr 3, 2013 at 6:33 pm
  • Hi all, I'm encountering a problem to index a document with a large number of values for one facet. Caused by: java.lang.IllegalArgumentException: DocValuesField "$facets" is too large, must be <= ...
    Nicola BusoNicola Buso
    Apr 26, 2013 at 2:44 pm
    Apr 27, 2013 at 10:37 am
  • A few quick questions about DocValues: 1. If only small number of documents have a ShortDocValueField defined, should each document in the index has this field filled with some value? The add() ...
    Wei WangWei Wang
    Apr 4, 2013 at 8:30 am
    Apr 5, 2013 at 4:10 pm
  • DocValues makes fast per doc value lookup possible, which is nice. But it brings other interesting issues. Assume there are 100M docs and 200 NumericDocValuesFields, this ends up with huge number of ...
    Wei WangWei Wang
    Apr 9, 2013 at 3:23 pm
    Apr 9, 2013 at 5:12 pm
  • Hi there, Looking at my index (about 1M docs) i see lot of unique terms, more than 8M which is a significant part of my total term count. These are very likely useless terms, binaries or other ...
    Manuel LeNormandManuel LeNormand
    Apr 24, 2013 at 10:29 pm
    Apr 29, 2013 at 9:18 pm
  • Hi all, I am copying documents from a source index to another (and adding more fields), all the fields are indexed and stored. I'm basically doing... for (int docNum = 0; docNum < maxDoc; docNum++) { ...
    Neil IresonNeil Ireson
    Apr 26, 2013 at 11:09 am
    Apr 26, 2013 at 10:52 pm
  • Hey guys, I'm new to Lucene and I was trying to estimate how fast I can make updates to the index and reopen it. The behavior I'm seeing seems odd. I'm using Lucene4.2 and SearchManager instance that ...
    Apr 26, 2013 at 3:11 am
    May 4, 2013 at 2:15 am
  • Hi, I have tryed to get all the tokens from a TokenStream in the same way as I was doing in the 3.x version of Lucene, but now (at least with WhitespaceTokenizer) I get an exception: Exception in ...
    Andi rexhaAndi rexha
    Apr 15, 2013 at 2:21 pm
    Apr 16, 2013 at 12:02 am
  • IntField inherits from Field class a function called setByteValue(). However, if we call it, it gives an error message: java.lang.IllegalArgumentException: cannot change value type from Integer to ...
    Wei WangWei Wang
    Apr 10, 2013 at 7:35 am
    Apr 10, 2013 at 3:22 pm
  • I am creating a Bible search app that indexes each verse of the bible as a separate document. When a user selects a verse from search results, I am wanting to show an entire chapter of the Bible with ...
    Darren HoffmanDarren Hoffman
    Apr 7, 2013 at 4:59 am
    Apr 8, 2013 at 9:15 pm
  • Hi Guys, I have been finding out the heap space requirement for indexing and searching with 3.0.2 vs 4.1 (with BlockPostings Format). I have a 2GB index with 1 million docs with around 42 fields with ...
    Arun Kumar KArun Kumar K
    Apr 1, 2013 at 11:57 am
    Apr 1, 2013 at 2:15 pm
  • Hi, I've the following snippet code where I'm trying to extract weighted span terms from the query (I do have term vectors enabled on the fields): File path = new File( "<path-to-index-dir ") ...
    Apr 7, 2013 at 11:17 pm
    Apr 9, 2013 at 6:27 pm
  • Dear Users, I am doing some research where Lucene is integrated into agent technology. Part of this work involves using an MLT query in an index which was not created from a document in that index ...
    Peter LavinPeter Lavin
    Apr 4, 2013 at 5:06 pm
    Apr 5, 2013 at 11:47 am
  • Hi, When Lucene scores matching documents, what is the order in which documents are processed/scored and can that be changed? I'm guessing it scores matches in whichever order they are stored in the ...
    Otis GospodneticOtis Gospodnetic
    Apr 4, 2013 at 1:56 am
    Apr 4, 2013 at 3:04 pm
  • Hi, I have a problem while trying to extract term vector's attributes (i.e. position of the terms). What I have done was: Terms termVector = indexReader.getTermVector(docId, fieldName); TermsEnum ...
    Andi rexhaAndi rexha
    Apr 2, 2013 at 8:58 am
    Apr 2, 2013 at 1:45 pm
  • Hi all! I use PositionIncrement attribute for finding words at some distance from each other. And I have two problems with that: 1) I want to search words within one sentence. A possible solution ...
    Igor ShalyminovIgor Shalyminov
    Apr 25, 2013 at 10:55 am
    Apr 25, 2013 at 12:17 pm
  • When writing a custom codec, I encountered an issue in SloppyPhraseScorer. I am using lucene-4.2 GA. public int nextDoc() { return advance(max.doc) } This in-turn calls my ...
    Ravikumar GovindarajanRavikumar Govindarajan
    Apr 19, 2013 at 5:10 pm
    Apr 19, 2013 at 5:23 pm
  • Hi Guys, I am using following queries: 1 WildCardQuery 2 BooleanQuery having a WildCardQuery and TermQuery. WildCardQuery is field:* or say field:ab* see that WildCardQuery gets expanded before doing ...
    Arun Kumar KArun Kumar K
    Apr 18, 2013 at 10:41 am
    Apr 18, 2013 at 11:23 am
  • Hi, After finishing indexing, we tried to consolidate all segments using forcemerge, but we continuously get out of memory error even if we increased the memory up to 4GB. Exception in thread "main" ...
    Wei WangWei Wang
    Apr 11, 2013 at 7:57 pm
    Apr 11, 2013 at 10:07 pm
  • Hi all, in Lucene 4.1, after some advise from the mailing list I am merging taxonomies (in memory because of the small size of taxonomies indexes) and collecting facets values from the merged ...
    Nicola BusoNicola Buso
    Apr 11, 2013 at 10:06 am
    Apr 11, 2013 at 10:51 am
  • Lucene encourages to re-use Document by setting new values for Fields contained within a Document object. This assumes there is no change to the number and types of Fields contained in a Document ...
    Wei WangWei Wang
    Apr 7, 2013 at 6:42 am
    Apr 7, 2013 at 4:37 pm
  • At index time I boost the alias field of a small set of documents, setting the boost to 2.0f, which I thought meant equivalent to doubling the score this doc would get over another doc, everything ...
    Paul TaylorPaul Taylor
    Apr 4, 2013 at 12:08 pm
    Apr 4, 2013 at 10:46 pm
  • Hi, I'm currently embarking upon a non trivial upgrade of some legacy 2.0.0 code and encounter the following IndexSearcher searcher = null; try { searcher = new IndexSearcher(indexFilePath); Term ...
    Lewis John McgibbneyLewis John Mcgibbney
    Apr 4, 2013 at 1:39 am
    Apr 4, 2013 at 6:38 am
  • Hi, I am encountering many situations where searcher.close() is present in finally blocks such as } finally { if (searcher != null) { try { searcher.close(); } catch (Exception ignore) { } searcher = ...
    Lewis John McgibbneyLewis John Mcgibbney
    Apr 4, 2013 at 2:15 am
    Apr 4, 2013 at 6:36 am
  • Since I use NRT readers for Index and TaxonomyIndex, I don't have to commit to see the changes. Now, I don't know if indexes are ever committed. If they don't commit automatically, I'd have to do it ...
    Apr 2, 2013 at 9:29 pm
    Apr 3, 2013 at 10:48 am
  • Hi, I have a question about the Index Readers in Lucene. As far as I understand from the documentation, with the Lucene 4, we can create an Index Reader from DirectoryReader.open(directory); Am I ...
    Andi rexhaAndi rexha
    Apr 2, 2013 at 1:45 pm
    Apr 2, 2013 at 2:23 pm
  • Hi, Anybody is actively working on the classification package? I was trying it with 4.2.1 and SimpleNaiveBayesClassifier seems to have a bug - the local copy of BytesRef referenced by foundClass is ...
    Alexey AnatolevitchAlexey Anatolevitch
    Apr 23, 2013 at 1:28 pm
    Apr 24, 2013 at 11:23 pm
  • Trying to convert some Lucene 3 code to Lucene 4, I want to use termEnums.docs(ir.getLiveDocs()) to only return docs that have not been deleted for a particular term. However getLiveDocs() is only ...
    Paul TaylorPaul Taylor
    Apr 24, 2013 at 11:35 am
    Apr 24, 2013 at 11:15 pm
  • I am a lucene user from China,so my English is bad.I will try my best to explain my problem. The version I use is 4.2.I have a problem during I use lucene . Here is my code: public void testIndex() ...
    Apr 23, 2013 at 11:52 am
    Apr 23, 2013 at 12:36 pm
  • I am a student and studying the functionality of Lucene for my project work. The DocDelta example on this link is not clear ...
    Gaurav RanjanGaurav Ranjan
    Apr 18, 2013 at 1:46 pm
    Apr 21, 2013 at 7:17 pm
  • Please add the user "MartinSchmidt" to the ContributorsGroup <http://wiki.apache.org/lucene-java/ContributorsGroup wiki page. -- --- lufed IT GmbH Pirckheimerstr. 36 90408 Nürnberg Tel +49 911 49 52 ...
    Lukas FedorowiczLukas Fedorowicz
    Apr 19, 2013 at 11:16 pm
    Apr 19, 2013 at 11:50 pm
  • Lucene 4.2.1 I am moving my application from 3.6 to 4.2.1. At the moment I have a reader for each of my shards (100 shards each about 5 million records). I am considering using a MultiReader for all ...
    Liz SommersLiz Sommers
    Apr 19, 2013 at 4:15 pm
    Apr 19, 2013 at 4:23 pm
  • Hi, I am using lucene in my project built in java. I am writing the index to a file using FSDirectory.open("c:\\temp"). Every hour boundary I need to re-index the complete system. But if I use the ...
    Sandeep JangraSandeep Jangra
    Apr 18, 2013 at 7:36 pm
    Apr 18, 2013 at 8:00 pm
  • Hi all, in lucene 4.1 there was this API FacetResultNode.getResidue() to understand if there are more values for a facet, than the topk returned. Is there a similar API in 4.2? I can't find it! ...
    Nicola BusoNicola Buso
    Apr 16, 2013 at 11:01 am
    Apr 17, 2013 at 3:48 am
  • Hi, I have the following scenario: I have an index of very large size (although I'm testing with around 200,000 documents, but should scale to many millions) and I want to perform a search on a ...
    Carsten SchnoberCarsten Schnober
    Apr 11, 2013 at 3:46 pm
    Apr 12, 2013 at 9:32 am
  • Hi all! I have a ~20GB index of documents that have words with several attributes associated with them, e.g.: WORD: word_1 word_2 ... word_n POS: pos1_1:pos1_2:pos1:3 pos2 ... pos_n_1:pos_n_2 LEMMA ...
    Igor ShalyminovIgor Shalyminov
    Apr 3, 2013 at 9:55 pm
    Apr 11, 2013 at 7:40 pm
  • Hi everyone! I'm trying to combine Lucene with Sharepoint (we use Windows and SP 2010), but I couldn't find good tutorials or proven tests cases that demostrate this integration. Do you know any ...
    Álvaro Vargas QuezadaÁlvaro Vargas Quezada
    Apr 10, 2013 at 9:32 pm
    Apr 10, 2013 at 10:05 pm
  • hello, im using Lucene2.9. i have to search special character like "/" in given text. but when im searching it gives me 0 hit. I have tried QueryParse.escape("/"). but did not get the result. how to ...
    Neeraj shahNeeraj shah
    Apr 10, 2013 at 6:08 am
    Apr 10, 2013 at 1:09 pm
  • We are doing some crash resiliency testing of our application. One of the things we found is that the Lucene index seems to get out of sync with the database pretty easily. I suspect this is because ...
    Becker, ThomasBecker, Thomas
    Apr 5, 2013 at 5:33 pm
    Apr 9, 2013 at 5:07 pm
  • Hello, I have a Lucene.NET index created with version The size of the index is about 25 Million entries (In the production environment I will have 50 Million or more). The Index size is ...
    Avi LevyAvi Levy
    Apr 9, 2013 at 2:50 pm
    Apr 9, 2013 at 2:58 pm
  • Hello, We have very old indexes (i.e. created with Lucene 2.1.0) we would like to run the CheckIndex tool from the 2.9.4 Lucene jar file, since it is not available in 2.1.0. Is it safe to assume that ...
    Apr 3, 2013 at 2:32 pm
    Apr 3, 2013 at 4:37 pm
  • Hi@all Lucene rocks, and based on some JavaFX/HTML5 hyprids i built a small Java search engine for your desktop! The prototype and the result can be seen here ...
    Mirko SerticMirko Sertic
    Apr 29, 2013 at 7:20 pm
    Apr 29, 2013 at 7:20 pm
  • The stacked updates issue as in the link mentioned https://issues.apache.org/jira/browse/LUCENE-4258 handles FieldUpdates only for "new incoming values". In our case, all fields that are updated are, ...
    Ravikumar GovindarajanRavikumar Govindarajan
    Apr 25, 2013 at 1:00 pm
    Apr 25, 2013 at 1:00 pm
  • Hello! Thank you for your reply.It is my oversight that I did not append the code at (AnalyzeContext.java:124). But when I try to use the StandardAnalyzer to do the same thing ,I met the same ...
    Apr 24, 2013 at 12:37 am
    Apr 24, 2013 at 12:37 am
Group Navigation
period‹ prev | Apr 2013 | next ›
Group Overview
groupjava-user @

60 users for April 2013

Uwe Schindler: 26 posts Wei Wang: 23 posts Adrien Grand: 21 posts Carsten Schnober: 13 posts Michael McCandless: 13 posts Shai Erera: 9 posts Nicola Buso: 8 posts Igor Shalyminov: 7 posts Jack Krupansky: 7 posts Andi rexha: 6 posts Robert Muir: 6 posts Arun Kumar K: 5 posts Manivannan Selvadurai: 5 posts Paul Taylor: 5 posts Lewis John Mcgibbney: 4 posts Vempap: 4 posts Alan Woodward: 3 posts Ashish Sarna: 3 posts Crocket: 3 posts Darren Hoffman: 3 posts
show more