Search Discussions

59 discussions - 228 posts

  • Hi all, It seems tryDeleteDocument(IndexReader, int) doesn't work with NRTManager while deleteDocuments(Query) works. Here are some sample code snippets: TrackingIndexWriter mgrWriter = new ...
    May 7, 2013 at 1:06 am
    May 8, 2013 at 11:38 am
  • Hi, I was seeing that Lucene supports both Groups and Facets. But I was finding it difficult to understand the difference between both. https://issues.apache.org/jira/browse/LUCENE-1421 - Says ...
    May 27, 2013 at 9:16 am
    May 29, 2013 at 5:02 am
  • Is it possible to have a mix of compressed and uncompressed documents within a single index? That is, can I load an index created with Lucene 4.0 into 4.1 and defer the decision of whether or not to ...
    Vitaly FunsteinVitaly Funstein
    May 15, 2013 at 8:38 pm
    May 15, 2013 at 11:16 pm
  • We have the following code SegmentInfos segments = new SegmentInfos(); segments.read(luceneDir); for(SegmentInfoPerCommit sipc: segments) { String name = sipc.info.name; SegmentReader reader = new ...
    Ravikumar GovindarajanRavikumar Govindarajan
    May 10, 2013 at 12:25 pm
    May 14, 2013 at 5:32 pm
  • Hi, We're occasionally seeing a CorruptIndexException when a searcher is opened on a new index. When we see the exception, it looks like what is happening is that the searcher is opening the index ...
    Geoff CooneyGeoff Cooney
    May 16, 2013 at 2:45 pm
    May 30, 2013 at 3:22 pm
  • hii am mary and i have a problem with lucene, Actually a work with lucene 4.0.0, my problem is, how can I more listed all the terms, the display position for each term in each document and their ...
    Mary meriemMary meriem
    May 24, 2013 at 4:14 pm
    May 24, 2013 at 11:20 pm
  • Hello! I'm storing sentence bounds in the index as position increments of 1000. I want to get the total number of sentences in the index, i. e. the number of "1000" increment values. Can I do that ...
    Igor ShalyminovIgor Shalyminov
    May 22, 2013 at 2:12 pm
    May 23, 2013 at 3:29 pm
  • I want to know the max value of a long field. I read lucene api , but don't find any api about this? does someone can supply any hits about how to implement this. thanks very much.
    Hu JingHu Jing
    May 17, 2013 at 9:11 am
    May 17, 2013 at 4:39 pm
  • As I know, the syntax *"jakarta apache"~10*, which is a PhraseQuery with a slop=10 in position, but What I want is *based on offset* not on position? Anyone can help me ? thx. ----- ...
    May 7, 2013 at 3:39 am
    May 13, 2013 at 1:17 pm
  • Hi, I was checking on Lucene Faceted search and need some guidance. http://lucene.apache.org/core/4_3_0/facet/org/apache/lucene/facet/doc-files/userguide.html#facet_indexingmentions about ...
    May 16, 2013 at 5:45 am
    May 21, 2013 at 4:34 am
  • Hi, I was looking to a way to obtain FieldInfo(s) from the IndexReader; we need in some way to describe the index. Can I do this? -------- AtomicReader ar = <indexReader .leaves().get(0).reader(); // ...
    Nicola BusoNicola Buso
    May 14, 2013 at 10:35 am
    May 14, 2013 at 5:56 pm
  • Hello, Using Lucene 4.1.0, my application is designed to automatically run the exact same facet search every few minutes, varying only by range on a date-time field. However, occasionally the app ...
    Lynn SettleLynn Settle
    May 1, 2013 at 3:31 pm
    May 1, 2013 at 6:02 pm
  • Hello, Sorry for cross post. I just wanted to announce that I've written a blog post on how to create synonyms.txt file automatically from Wikipedia ...
    Koji SekiguchiKoji Sekiguchi
    May 27, 2013 at 3:15 pm
    May 29, 2013 at 6:53 am
  • Hi Guys, I have been trying to understand DocValues and get some hands on and have observed few things. I have added LongDocValuesField to the documents like: doc.add(new ...
    Arun Kumar KArun Kumar K
    May 28, 2013 at 2:49 pm
    May 29, 2013 at 3:06 am
  • Hi all, I'm trying to create a fairly complex query, and having trouble constructing it. My index contains a TextField with place names as strings, e.g.: Port Melbourne, VIC 3207 I'm using an ...
    Ross SimpsonRoss Simpson
    May 22, 2013 at 12:09 am
    May 22, 2013 at 2:52 pm
  • It appears that StringField instances are treated as literals, even though my analyzer lower-cases (on both write and read sides). So, for example, I can match with a term query (e.g. "NEW YORK"), ...
    Shahak NagielShahak Nagiel
    May 21, 2013 at 2:06 pm
    May 22, 2013 at 3:07 am
  • Hi team, I'm working with apache lucene 4.2.1 and I would like to store lucene index in a NoSql database. So my questions are, - Can I store the lucene index in a mongodb database ? thanks you team!
    Rider Carrion ClegerRider Carrion Cleger
    May 14, 2013 at 8:35 am
    May 14, 2013 at 12:58 pm
  • Hello all Lucene version 3.6.1. Sorry if this is a really stupid question, but is it possible to use search-time facetting on an existing lucene index without the need to reindex? My (limited) ...
    Kiwi cliveKiwi clive
    May 6, 2013 at 3:23 am
    May 7, 2013 at 5:43 am
  • Hello, We have code running with Lucene 2.9.4 that does the following: 1. Check that number of documents to be deleted, found with a particular query, matches the expected number we pass in 2. For ...
    May 23, 2013 at 7:38 pm
    May 24, 2013 at 9:27 am
  • This is a question (or perhaps a line of thought) regarding the mutually intelligible Scandinavian languages Danish, Norwegian and Swedish. The Swedish letters åäö is in fact the same letters as the ...
    Karl WettinKarl Wettin
    May 22, 2013 at 12:38 pm
    May 23, 2013 at 2:40 pm
  • I just upgraded from lucene 4.1 to 4.2.1. We believe we are seeing some different behavior. I'm using org.apache.lucene.queryparser.classic.QueryParser. If I pass the string "20110920/EXPIRED" (w/o ...
    Scott SmithScott Smith
    May 19, 2013 at 6:51 pm
    May 19, 2013 at 10:05 pm
  • My situation is that There are 10,000,000 documents, and I Build index every 5,000 documents. while *in every build*, I follow these steps: IndexWriterConfig iwc = new ...
    May 13, 2013 at 3:05 am
    May 15, 2013 at 5:30 am
  • Hi, I want to hide some values for a facet; than I'm looking into a way to collect facet values only for a subset of possible values. Is there a way to obtain this? If not, extending TopK...Handler ...
    Nicola BusoNicola Buso
    May 9, 2013 at 9:54 am
    May 9, 2013 at 10:48 am
  • I see that Lucene 4.x has FieldInfo.IndexOptions that can be used to tell lucene whether to Index Documents/Frequencies/Positions/Offsets. We are in the process of upgrading from Lucene 2.9 to Lucene ...
    May 8, 2013 at 8:24 am
    May 8, 2013 at 1:06 pm
  • Hi. *I would like for hits that contain the search terms in proximity to each other to be ranked higher than hits in which the terms are scattered across the doc. Wondering if there's a best practice ...
    Gili NachumGili Nachum
    May 4, 2013 at 5:47 pm
    May 5, 2013 at 2:21 pm
  • I have encountered a strange issue, that appears to be pretty hard to hit, but is still a serious problem when it does occur. It seems that if the JVM crashes in a racy fashion with instantiation of ...
    Vitaly FunsteinVitaly Funstein
    May 30, 2013 at 12:10 am
    May 30, 2013 at 3:22 pm
  • Hi everyone, I am building an autocomplete index. The index contains both the names and a small set of fixed types. The intention is that type matches will always come first, followed by name ...
    Steven SchlanskerSteven Schlansker
    May 24, 2013 at 11:07 pm
    May 29, 2013 at 12:20 am
  • there is my code for getting in position for all term index and I'm stuck on this problem!!!! anyone has an idea about this error??ar = (AtomicReader)readre; System.out.print(ar); boolean withOffsets ...
    Mary meriemMary meriem
    May 25, 2013 at 8:33 pm
    May 27, 2013 at 10:58 pm
  • please,how I can solve this error? Exception in thread "main" java.lang.NoSuchMethodError: org.apache.lucene.search.IndexSearcher.<init (Ljava/lang/String;)V -- View this message in context ...
    May 17, 2013 at 1:12 pm
    May 17, 2013 at 5:06 pm
  • Hi all, We have an obvious deadlock between a "MaybeRefreshIndexJob" thread calling ReferenceManager.maybeRefresh(ReferenceManager.java:204) and a "RebuildIndexJob" thread calling ...
    Sergiusz UrbaniakSergiusz Urbaniak
    May 15, 2013 at 3:50 pm
    May 16, 2013 at 7:43 am
  • Hi mate, we did that (w/ lucene 3.6) and reconsidered it as "very bad idea" afterwards. Why? (a) out of the box, mongodb does only 16-mb files. Lucene files grow (much) larger than that. (b) lucene ...
    Hendrik Lücke-TiekeHendrik Lücke-Tieke
    May 15, 2013 at 5:25 am
    May 15, 2013 at 11:21 am
  • Team, We have three indices by three different versions of lucene(2.3,3.6 and 4.1). Is there anyway I can identify which index belongs to which version somehow programatically? Thanks in advance. -- ...
    Ramprakash RamamoorthyRamprakash Ramamoorthy
    May 13, 2013 at 2:25 pm
    May 14, 2013 at 9:26 am
  • All - We have a necessity to check for attributes with null values. There are 2 options that we narrowed down to 1. Either we index null values with 'NULL' string and then check against the string ...
    May 13, 2013 at 6:06 pm
    May 14, 2013 at 7:49 am
  • We are totally confused and are wondering if this is a known bug. We are currently using lucene 3.6.0 to index with and for our searches. Our indexing software was compiled under openJdk 1.6.0-b09 ...
    Liz SommersLiz Sommers
    May 9, 2013 at 4:38 pm
    May 9, 2013 at 5:04 pm
  • As we know, the we can sort by multi-fields, such as field1 , then field2. But I have another scenario: We need pick up the max(field1) record first, then sort by field2 for others records. Anyone ...
    Jack LiuJack Liu
    May 7, 2013 at 5:49 am
    May 8, 2013 at 2:48 am
  • Hi guys, If I run 2 term range queries: new TermRangeQuery("title", new BytesRef("A"), null, true, true); and new TermRangeQuery("title", new BytesRef("Z"), null, true, true); The one that starts ...
    May 7, 2013 at 2:16 am
    May 7, 2013 at 9:32 am
  • Hi If a Document is updated multiple times in one transaction it may end up with old versions not getting deleted, depending on when the IndexWriter got flushed. I couln't find an details about this ...
    Daniel PenningDaniel Penning
    May 6, 2013 at 11:33 am
    May 6, 2013 at 12:56 pm
  • Hello, I know I've seen it go by on this list and elsewhere, but cannot seem to find it: can someone point me to the best way to do term expansions at indexing time. That is, when the sentence is ...
    Glen NewtonGlen Newton
    May 3, 2013 at 6:15 pm
    May 3, 2013 at 6:40 pm
  • Hi, I want to create a simulation of the old "optimize" for an index. I can do it for 4.1 api, because I can use the method "setUseCompoundFile(true)" for the merge policy and call ...
    Andi rexhaAndi rexha
    May 2, 2013 at 10:54 am
    May 2, 2013 at 11:07 am
  • Hi All, Sorry if this is a stupid question, but I'm still catching up with some of the new APIs and I want to make sure my assumptions are correct. Anyway, I'm the solr PathHierachyTokenizer to ...
    Brendan GraingerBrendan Grainger
    May 22, 2013 at 3:29 pm
    May 22, 2013 at 4:48 pm
  • Hi folks, We just created a new meetup group for all Lucene/Solr enthusiasts in and around Bangalore. We're holding our first meetup on the 1st Of June, 2013. Link to the meetup page - ...
    Anshum GuptaAnshum Gupta
    May 21, 2013 at 6:29 am
    May 21, 2013 at 9:29 am
  • Hi folks: Sorry about the cross-post. Luke is awesome, but sometimes you only have command line access to your production boxes. So I wrote CLue, a command line lucene interface in the likes of ...
    John WangJohn Wang
    May 17, 2013 at 7:08 pm
    May 17, 2013 at 11:00 pm
  • Hi there, We've been having troubles with performance regarding IndexReader's * document<http://lucene.apache.org/core/4_1_0/core/org/apache/lucene/index/IndexReader.html#document(int) *(int docID) ...
    G BG B
    May 14, 2013 at 8:19 pm
    May 15, 2013 at 1:33 pm
  • Hello all, i was wondering why unindexed fields can't be boosted compare to lucene 3. since these fields are still in the score calculation when i checked the score explanation. Is there any clean ...
    Tamer GürTamer Gür
    May 14, 2013 at 2:35 pm
    May 15, 2013 at 1:24 pm
  • We are using Lucene 3.0.3. Is there a way to set a default value to all fields being indexed in Lucene? Say, i want to set the default value as "NULL", indexed=NOT_ANALYZED, stored=false. This ...
    May 13, 2013 at 5:52 pm
    May 13, 2013 at 6:18 pm
  • Hi, I want to modify how the QueryScorer selects fragments for snippeting. I want to add a small boost for fragments that contain certain terms (e.g. "great", "amazing") to the unique term occurrence ...
    Colin PollockColin Pollock
    May 7, 2013 at 10:46 pm
    May 8, 2013 at 12:01 am
  • Hello , I downloaded and extracted lucene 4.2.1 , and set the 4 jar files in my classpath . But now when i execute the command java org.apache.lucene.demo.IndexFiles -docs {path-to-lucene}/src i get ...
    Sindhu hosamaneSindhu hosamane
    May 6, 2013 at 7:31 pm
    May 7, 2013 at 10:19 am
  • Hi Ivan, i was aware of that thread i also asked to learn about overriding DefaultSimilarity stuff or similar other approach. Thanks ...
    Tamer GürTamer Gür
    May 1, 2013 at 8:36 am
    May 1, 2013 at 11:31 am
  • Hi all, I think somebody already did this question in the mailing list, but I can't find it. Is possible to execute a search with facets in luke? then use the $facets field in searches? Nicola ...
    Nicola BusoNicola Buso
    May 1, 2013 at 9:57 am
    May 1, 2013 at 10:05 am
  • Non technical users understand what a field is. All of them might however not know that they they can use them but It's easy for them to learn that name:john will search for john only in names. Non ...
    Karl WettinKarl Wettin
    May 30, 2013 at 11:27 pm
    May 30, 2013 at 11:27 pm
Group Navigation
period‹ prev | May 2013 | next ›
Group Overview
groupjava-user @

68 users for May 2013

Michael McCandless: 25 posts Uwe Schindler: 14 posts Jack Krupansky: 11 posts Shai Erera: 11 posts Raj: 9 posts Mary meriem: 7 posts Nicola Buso: 7 posts Wgggfiy: 7 posts Adrien Grand: 6 posts Karl Wettin: 6 posts Ravikumar Govindarajan: 6 posts Brendan Grainger: 5 posts Ian Lea: 5 posts Schimke, Danny: 5 posts Vitaly Funstein: 5 posts Lynn Settle: 4 posts Reg: 4 posts Simon Willnauer: 4 posts AarKay: 3 posts Aleksey: 3 posts
show more