Sorry, but I don't know what exactly you mean by compile from these locations.
Do you mean I could download and customize the code?
Regards,
Raghu
-Original Message-
From: Allison, Timothy B. [mailto:talli...@mitre.org]
Sent: Thursday, February 06, 2014 2:35 PM
To: java-user@lucene.apa
Thank you, Tim.
I have read that ComplexPhraseQueryParser has issues while searching in more
than one field. In my case, I need to search the value in multiple fields of
each document.
Do you think it is possible? Also, could you please direct me to any useful
links for ComplexPhraseQueryParse
Hi,
Can Lucene support wildcard searches such as the ones shown below?
Indexed value is "XYZ CORPORATION LIMITED".
XYZ CORPORATION LIMI*
XYZ CORPORATION *MIT*
XYZ *PORAT* LIMI*
*YZ CORPO* LIMITE*
In other words, the flexibility for the user to provide a wild card at any
position, in a situatio
Hi,
I have used StandardAnalyzer in my code and it is working fine. One of the
challenges that I face is the fact that, this Analyzer by default tokenizes on
some special characters such as hyphen, apart from the SPACE character.
I want to tokenize only on the SPACE character. Could you please
Jack,
I am using WhitespaceAnalyzer while both indexing and searching the data. To
avoid the case-sensitive dependency, I ensure that both of them are upper-cased.
I generally search against the space separated CONTENTS field for the search
terms. Hence while searching, I can imagine Whitespace
Hi All,
Sorry to repeat this question from my previous mail chain, but I am hoping the
modified subject will catch someone's attention - in case they are familiar
with this situation.
Could any one please suggest if it is possible to perform Leading and / or
trailing wildcard searches usin
Hi All,
Could any one please suggest if it is possible to perform Leading and / or
trailing wildcard searches using WhitespaceAnalyzer?
As noted below, WhitespaceAnalyzer works well for my cause, but I need to
support wildcard searches. Initial results prove that it isn't possible.
BTW, I esca
The solution clicked to me as soon as I sent the email :)
The problem was that I was enclosing the search text with double quotes (for
PhraseQuery) before providing it to QueryParser and it was getting messed up as
double quotes is one of the special characters for Lucene and I guess even the
d
Thank you very much, Eric.
WhitespaceAnalyzer is going pretty well. I am now trying to search for values
with special characters that need escaping for Lucene, but facing some issues.
I have used the QueryParser.escape() method in the past with StandardAnalyzer
and it worked fine. But now with
Hi,
I implemented my Lucene solution using StandardAnalyzer for both indexing and
searching. While testing, I noticed that special characters such as hyphens,
forward slash etc. are omitted by this Analyzer.
In plain English, the requirement is to search for individual words, in Lucene
terms S
Hi,
In my current implementation of Lucene 4.3 where there are millions of indexed
records, I do a regular search() and get the topDocs.totalHits as the count of
results.
As part of this, I store all the results in the session and then let the user
paginate through the results. With this, I am
Ian - Thank you for your inputs.
Regards,
Raghu
-Original Message-
From: Ian Lea [mailto:ian@gmail.com]
Sent: Tuesday, October 15, 2013 11:43 AM
To: java-user@lucene.apache.org
Subject: Re: QueryParser stripping off Hyphen from query
If you want to keep hyphens you could try Whites
Could you please suggest which Analyzer to use in this case?
I haven’t yet explored much with Analyzers. I've always used the
StandardAnalyzer.
Regards,
Raghu
-Original Message-
From: Uwe Schindler [mailto:u...@thetaphi.de]
Sent: Monday, October 14, 2013 6:38 PM
To: java-user@lucene.a
Hi,
I am using the regular QueryParser to form a PhraseQuery. It works fine, but
when it consists of a hyphen, it gets removed, hence resulting in unexpected
results.
Note: I am NOT using the QueryParser.escape() method before parse() method as
it results in a BooleanQuery, while I want a Phra
Hi,
I found a solution to my earlier question. If I provide search strings in
lowercase characters, then it works fine. For eg. if I submit N(abc,corp)
instead of N(ABC,CORP) as my search string then it works fine! Although my
index strings are all in upper case letters.
Got the hint from this
The sysout copy-paste got corrupted for some reason previously. Please see
below.
+org.apache.lucene.queryparser.surround.query.SimpleTermRewriteQuery(unused:
)(LUC_FLD_ACTVY_DTLS, ABC,
org.apache.lucene.queryparser.surround.query.BasicQueryFactory(maxBasicQueries:
1024, queriesMade: 0))
+org
I made some progress and prepared the below syntax. But I don't get any results
when I search for "ABC CORP" even though there are matching records.
SrndQuery srndQuery =
org.apache.lucene.queryparser.surround.parser.QueryParser.parse("(ABC AND
CORP)");
Query query = srndQuery.makeLuceneQueryFi
Ian,
Thank you very much for your valuable inputs.
The surround parser sounds very powerful and it just may be the single answer
to all what I am looking for. I have been trying hard to find an example for
its implementation but haven't been able to find one online. Could you please
help?
Ind
Hi,
I have implemented Lucene to search for a single keyword across multiple fields
and it works great. I did this by concatenating all the fields into a
"contents" field and searching against this field.
When I give multiple keywords against this setup, Lucene by default does an OR
search, le
Hi,
I have been using the regular Query class to search single keywords. I needed
to include hits such as "BANKER" if the user searched for "BANK". To achieve
this I used "*" on both sides as *BANK*.
Now I need to search for phrases and I am building a PhraseQuery. My question
is, is there a w
Uwe,
Thank you very much for your suggestions!
Raghu
-Original Message-
From: Uwe Schindler [mailto:u...@thetaphi.de]
Sent: Friday, July 12, 2013 2:02 AM
To: java-user@lucene.apache.org
Subject: RE: Searching two words
Hi,
- if you want to search for those both words next to each othe
Hi,
When I search two words separated by a space, the search returns results
consisting of the two word pattern and also searches the individual words
separately.
I don't have the code in front of me at the moment to give you my code snippet,
but I can tell the following.
I use the standard
Thank you, Ian.
I tried the AND search you suggested and it is working fine.
Regards,
Raghu
IT Compliance Systems Development
BARCLAYS
70 Hudson ,
Jersey City, NJ
+1 201 499 6984 (O) +1 917 565 6276 (M)
raghavendra.k@barclays.com
-Original Message-
From: Ian Lea [mailto:ian
Hi,
I have indexed a database table which has about 70 columns out of which 60
columns have been indexed and the rest have been stored. There are 70 million
records in this table. This is a static table and hence I plan to index them at
once and then perform the search on these indices.
I perf
Ashwin,
Thank you very much for your suggestions. I will take a look at Solr as well.
Regards,
Raghu
-Original Message-
From: Ashwin Tandel [mailto:ashwintan...@gmail.com]
Sent: Tuesday, June 18, 2013 6:29 PM
To: java-user@lucene.apache.org
Subject: Re: New Lucene User
Raghav,
I wo
Heikki,
Thank you very much. I tried it out and the initial results look good.
Although I get "java.lang.OutOfMemoryError: Java heap space" when I search for
a single TextField over 70 million records. Probably my code needs tuning.
I'll research more to figure it out. But this is a great start
Hi,
I have a requirement to perform a full-text search in a new application and I
came across Lucene and I want to check if it helps our cause.
Requirement:
I have a SQL Server database table with around 70 million records in it. It is
not a live table and the data gets appended to it on a dai
27 matches
Mail list logo