You've given us anything to go on here, except "it doesn't work". You might
review this page:
http://wiki.apache.org/solr/UsingMailingLists
Best
Erick
On Tue, Apr 12, 2011 at 9:05 AM, Ranjit Kumar wrote:
> Hi,
>
> I am creating index with help of StandardAnalyzer for *.docx file it's
> fine. Bu
; To: java-user-h...@lucene.apache.org; java-user@lucene.apache.org
> Subject: lucene 3.0.3 | searching problem with *.docx file
>
> Hi,
>
> I am creating index with help of StandardAnalyzer for *.docx file it's
> fine. But at the time of searching it do not gives result for these *.
Hi,
I am creating index with help of StandardAnalyzer for *.docx file it's fine.
But at the time of searching it do not gives result for these *.docx file.
any help or suggestion will be appreciated!!!
Thanks & Regards,
Ranjit Kumar
=
t;content". Could that cause your problem?
simon
>
>
>
>> Date: Wed, 27 Jan 2010 12:47:57 +0100
>> Subject: Re: Index searching problem
>> From: simon.willna...@googlemail.com
>> To: java-user@lucene.apache.org
>>
>> Do you open the searcher / reader aft
open. I think the problem may exists in query
parser. I am using following code
QueryParser parser = new QueryParser("content", analyzer);
Query query = parser.parse(queryString);Hits hits = is.search(query);
> Date: Wed, 27 Jan 2010 12
returns 0 hits :(
> Date: Wed, 27 Jan 2010 12:47:57 +0100
> Subject: Re: Index searching problem
> From: simon.willna...@googlemail.com
> To: java-user@lucene.apache.org
>
> Do you open the searcher / reader after you call commit on the writer?
>
> simon
>
> On Wed
Why???
>> Hits hits = se.performSearch("significance");System.out.println("hits length
>> = "+ hits.length());
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>> Date: Wed, 27 Jan 2010 10:45:27 +0100
>
But in my
> program it returns no of hits = 0. Why???
> Hits hits = se.performSearch("significance");System.out.println("hits length
> = "+ hits.length());
>
>
>
>
>
>
>
>
>
>
>
>> Date: Wed, 27 Jan 2010 10:45:27 +0100
>> Subject: R
"+ hits.length());
> Date: Wed, 27 Jan 2010 10:45:27 +0100
> Subject: Re: Index searching problem
> From: simon.willna...@googlemail.com
> To: java-user@lucene.apache.org
>
> do you close your index writer or commit it before you open your searcher?
>
> one more th
do you close your index writer or commit it before you open your searcher?
one more thing, if you search for "Hotel" you might not find anything
if the querystring is not passed through the StandardAnalyzer you use
for indexing. (well, or another analyzer that does lowercasing).
BTW. you email is
i build an index to store 100 docs, each with field author, title and
abstract.for (i=0;i<100;i++) {writer = new IndexWriter("index",new
StandardAnalyzer(),true,IndexWriter.MaxFieldLength.UNLIMITED);
doc.add(new Field("author",cfcDoc.getAu(), Field.Store.YES,
Field.Index.TOKENIZED));do
Thanks Mike for the information.
Actually I am using RemoteParallelMultiSearcher with 10 Search Servers, my
crawler program freequently add new documents in to all the Search Servers
in a distributed manner. So in this case, if I add a document in a
particular index, I need to restart the searche
Sunil Kumar PK wrote:
could you please explain?
On 10/26/06, Karel Tejnora <[EMAIL PROTECTED]> wrote:
Nope. IndexReader obtains a snapshot of index - not closing and opening
indexreader leads to not deleting files (windows exception, linux will
not free them).
> Is it possible to get all the ma
could you please explain?
On 10/26/06, Karel Tejnora <[EMAIL PROTECTED]> wrote:
Nope. IndexReader obtains a snapshot of index - not closing and opening
indexreader leads to not deleting files (windows exception, linux will
not free them).
> Is it possible to get all the matching document in the
Nope. IndexReader obtains a snapshot of index - not closing and opening
indexreader leads to not deleting files (windows exception, linux will
not free them).
Is it possible to get all the matching document in the result without
restarting the Searcher program?
Hi,
I have a program to create a lucene index, and another program for searching
that index.
The Search program create an IndexSearcher object once in its constructor,
and I created a method doSearch to search the index. The doSearch method
uses the indexSearcher object to get the Hits.
My Inde
Hello,
You could extract the file name extension at index time, and index it
as a Field.Keyword. Then you can search for it with a simple TermQuery
or : syntax using QueryParser.
Otis
P.S.
Please don't cross-post - use [EMAIL PROTECTED] list
--- haipeng du <[EMAIL PROTECTED]> wrote:
> how cou
17 matches
Mail list logo